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 TypeMethodDescriptionvoidhandleException(E exception) This method is called when the handler should deal with an exception.
-
Method Details
-
handleException
This method is called when the handler should deal with an exception.- Parameters:
exception- The exception to handle.
-