Interface ExceptionHandler<T extends java.lang.Throwable>

  • Type Parameters:
    T -
    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 interface ExceptionHandler<T extends java.lang.Throwable>
    Common interface for types that handle exceptions.
    Since:
    1.0
    • Method Detail

      • handle

        void handle​(T exception)
        Handle the given exception.
        Parameters:
        exception - The exception to handle