Interface ExceptionContext<C,T extends Throwable>
- All Known Implementing Classes:
ExceptionContext.ExceptionContextImpl
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classExceptionContext.ExceptionContextImpl<C,T extends Throwable> -
Method Summary
Modifier and TypeMethodDescriptioncontext()Returns the command context.Returns the exception controller that created this context instance.Returns the exception.
-
Method Details
-
exception
Returns the exception.- Returns:
- the exception
-
context
@NonNull CommandContext<C> context()Returns the command context.- Returns:
- the command context
-
controller
@NonNull ExceptionController<C> controller()Returns the exception controller that created this context instance.- Returns:
- the controller
-