Class FlowExecutionExceptionHandlerSet
java.lang.Object
org.springframework.webflow.engine.FlowExecutionExceptionHandlerSet
A typed set of state exception handlers, mainly for use internally by artifacts that can apply state exception
 handling logic.
- Author:
- Keith Donald
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanadd(FlowExecutionExceptionHandler exceptionHandler) Add a state exception handler to this set.booleanaddAll(FlowExecutionExceptionHandler... exceptionHandlers) Add a collection of state exception handler instances to this set.booleancontains(FlowExecutionExceptionHandler exceptionHandler) Tests if this state exception handler is in this set.booleanhandleException(FlowExecutionException exception, RequestControlContext context) Handle an exception that occurred during the context of the current flow execution request.booleanremove(FlowExecutionExceptionHandler exceptionHandler) Remove the exception handler instance from this set.intsize()Returns the size of this state exception handler set.toArray()Convert this list to a typed state exception handler array.toString()
- 
Constructor Details- 
FlowExecutionExceptionHandlerSetpublic FlowExecutionExceptionHandlerSet()
 
- 
- 
Method Details- 
addAdd a state exception handler to this set.- Parameters:
- exceptionHandler- the exception handler to add
- Returns:
- true if this set's contents changed as a result of the add operation
 
- 
addAllAdd a collection of state exception handler instances to this set.- Parameters:
- exceptionHandlers- the exception handlers to add
- Returns:
- true if this set's contents changed as a result of the add operation
 
- 
containsTests if this state exception handler is in this set.- Parameters:
- exceptionHandler- the exception handler
- Returns:
- true if the state exception handler is contained in this set, false otherwise
 
- 
removeRemove the exception handler instance from this set.- Parameters:
- exceptionHandler- the exception handler to add
- Returns:
- true if this set's contents changed as a result of the remove operation
 
- 
sizepublic int size()Returns the size of this state exception handler set.- Returns:
- the exception handler set size
 
- 
toArrayConvert this list to a typed state exception handler array.- Returns:
- the exception handler list, as a typed array
 
- 
handleExceptionHandle an exception that occurred during the context of the current flow execution request.This implementation iterates over the ordered set of exception handler objects, delegating to each handler in the set until one handles the exception that occurred. - Parameters:
- exception- the exception that occurred
- context- the flow execution control context
- Returns:
- true if the exception was handled
 
- 
toString
 
-