| |
|
| java.lang.Object org.springframework.webflow.engine.support.TransitionExecutingStateExceptionHandler
Field Summary | |
final public static String | ROOT_CAUSE_EXCEPTION_ATTRIBUTE The name of the attribute to expose a root cause of a handled exception
under in flash scope ("rootCauseException"). | final public static String | STATE_EXCEPTION_ATTRIBUTE The name of the attribute to expose a handled exception under in
flash scope ("stateException"). |
ROOT_CAUSE_EXCEPTION_ATTRIBUTE | final public static String ROOT_CAUSE_EXCEPTION_ATTRIBUTE(Code) | | The name of the attribute to expose a root cause of a handled exception
under in flash scope ("rootCauseException").
|
STATE_EXCEPTION_ATTRIBUTE | final public static String STATE_EXCEPTION_ATTRIBUTE(Code) | | The name of the attribute to expose a handled exception under in
flash scope ("stateException").
|
add | public TransitionExecutingStateExceptionHandler add(Class exceptionClass, String targetStateId)(Code) | | Adds an exception->state mapping to this handler.
Parameters: exceptionClass - the type of exception to map Parameters: targetStateId - the id of the state to transition to if thespecified type of exception is handled this handler, to allow for adding multiple mappings in a singlestatement |
add | public TransitionExecutingStateExceptionHandler add(Class exceptionClass, TargetStateResolver targetStateResolver)(Code) | | Adds a exception->state mapping to this handler.
Parameters: exceptionClass - the type of exception to map Parameters: targetStateResolver - the resolver to calculate the state totransition to if the specified type of exception is handled this handler, to allow for adding multiple mappings in a singlestatement |
exposeException | protected void exposeException(RequestContext context, FlowExecutionException exception, Throwable rootCause)(Code) | | Exposes the given flow exception and root cause in flash scope to make
them available for response rendering. Subclasses can override this
if they want to expose the exceptions in a different way or do special
processing before the exceptions are exposed.
Parameters: context - the request control context Parameters: exception - the exception being handled Parameters: rootCause - root cause of the exception being handled (could be null) since: 1.0.2 |
getActionList | public ActionList getActionList()(Code) | | Returns the list of actions to execute when this handler handles an exception.
The returned list is mutable.
|
getTargetStateResolver | protected TargetStateResolver getTargetStateResolver(FlowExecutionException e)(Code) | | Find the mapped target state resolver for given exception. Returns
null if no mapping can be found for given exception. Will
try all exceptions in the exception cause chain.
|
|
|
|