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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleException(E exception)This method is called when the handler should deal with an exception.
-
-
-
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.
-
-