Interface ExceptionHandler<T extends 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 Throwable>
Common interface for types that handle exceptions.
Since:
1.0
Author:
graemerocher
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(T exception)
    Handle the given exception.
  • Method Details

    • handle

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