Interface ExceptionHandler<E extends Throwable>

  • Type Parameters:
    E - The type of exception thrown.

    public interface ExceptionHandler<E extends Throwable>
    Interface to be implemented by classes that handle exceptions.
    • Method Detail

      • handleException

        void handleException​(E exception)
        This method is called when the handler should deal with an exception.
        Parameters:
        exception - The exception to handle.