Interface ExceptionHandler<SENDER,E extends Throwable>
- All Superinterfaces:
ResultHandler<SENDER,E>
- All Known Implementing Classes:
InvalidUsageExceptionHandler,InvocationTargetExceptionHandler,LiteCommandsExceptionHandler,ThrowableHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface ExceptionHandler<SENDER,E extends Throwable>
extends ResultHandler<SENDER,E>
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(Invocation<SENDER> invocation, E exception, ResultHandlerChain<SENDER> chain)
-
Method Details
-
handle
- Specified by:
handlein interfaceResultHandler<SENDER,E extends Throwable>
-