X_IN
- the type of exception being handled.X_OUT
- the type of exception being (potentially) thrown. Use
NeverThrownRuntimeException
if no exception will be thrown
by this handler.@FunctionalInterface public interface IExceptionHandler<X_IN extends java.lang.Exception,X_OUT extends java.lang.Exception>
Modifier and Type | Method and Description |
---|---|
void |
handleException(X_IN exception)
Handle the provided exception.
|
void handleException(X_IN exception) throws X_OUT extends java.lang.Exception
exception
- the exception being handled.X_OUT extends java.lang.Exception