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 Summary

    Modifier and Type
    Method
    Description
    void
    handleException(E exception)
    This method is called when the handler should deal with an exception.
  • Method Details

    • handleException

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