E - The type of the executor@FunctionalInterface
public interface CommandExceptionHandler<E>
| Modifier and Type | Method and Description |
|---|---|
void |
handle(ExecutionContext<E> executor,
java.lang.Exception t)
Handle the thrown exception.
|
void handle(ExecutionContext<E> executor, java.lang.Exception t) throws ArgumentParseException, java.lang.RuntimeException
executor - The executort - The thrown exceptionArgumentParseException - If the exception should be handled as an invalid argumentjava.lang.RuntimeException - If the exception should be handled as an internal error