Annotation Type ExceptionHandler
Annotation used to map methods to
exception handlers.
The method signature is not fixed, and the parameters can be any combination of:
ExceptionContextvalue()CommandContext- the command sender type
- any type that can be injected using
CommandContext.inject(Class)
See ExceptionHandler.handle(ExceptionContext) for information about
the exception handler behavior.
-
Required Element Summary
Required Elements
-
Element Details
-
value
Returns the type of exceptions caught by the exception handler.- Returns:
- the exception type
-