Interface Exceptions.AutoCloser<E extends java.lang.Exception>

  • All Superinterfaces:
    java.lang.AutoCloseable
    Enclosing class:
    Exceptions
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface Exceptions.AutoCloser<E extends java.lang.Exception>
    extends java.lang.AutoCloseable
    • Method Detail

      • close

        void close()
            throws E extends java.lang.Exception
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        E extends java.lang.Exception