public interface ErrorHandler<A extends Action>
LoggingErrorHandlerFactory
simply puts a message in the log. Note that it is not usually practical
to let the error propagate up to the gui level.Modifier and Type | Method and Description |
---|---|
void |
handleError(InvokationContext<? extends A> context,
A action,
String message,
Throwable t)
Handle an exception that has happened.
|
void handleError(InvokationContext<? extends A> context, A action, String message, Throwable t)
Note that there are three stages in the extension mechanism, which may cause some of the parameters to be null:
context
- The extension context, which can be nullaction
- The action that was being rendered when the
error happened, which can be nullmessage
- An optional error messaget
- The error