public interface FlowExecutionExceptionHandler
TransitionExecutingFlowExecutionExceptionHandler
which illustrates the proper way to implement an
exception handler.Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(FlowExecutionException exception)
Can this handler handle the given exception?
|
void |
handle(FlowExecutionException exception,
RequestControlContext context)
Handle the exception in the context of the current request.
|
boolean canHandle(FlowExecutionException exception)
exception
- the exception that occurredvoid handle(FlowExecutionException exception, RequestControlContext context)
RequestControlContext.execute(Transition)
.exception
- the exception that occurredcontext
- the execution control context for this request