org.springframework.webflow.engine
Class NoMatchingTransitionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.webflow.core.FlowException
org.springframework.webflow.execution.FlowExecutionException
org.springframework.webflow.engine.NoMatchingTransitionException
- All Implemented Interfaces:
- Serializable
public class NoMatchingTransitionException
- extends FlowExecutionException
Thrown when no transition can be matched given the occurence of an event in the context of a flow execution request.
Typically this happens because there is no "handler" transition for the last event that occured.
- Author:
- Keith Donald, Erwin Vervaet
- See Also:
- Serialized Form
Method Summary |
Event |
getEvent()
Returns the event for the current request that did not trigger any supported transition. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NoMatchingTransitionException
public NoMatchingTransitionException(String flowId,
String stateId,
Event event,
String message)
- Create a new no matching transition exception.
- Parameters:
flowId
- the current flowstateId
- the state that could not be transitioned out ofevent
- the event that occured that could not be matched to a transitionmessage
- the message
NoMatchingTransitionException
public NoMatchingTransitionException(String flowId,
String stateId,
Event event,
String message,
Throwable cause)
- Create a new no matching transition exception.
- Parameters:
flowId
- the current flowstateId
- the state that could not be transitioned out ofevent
- the event that occured that could not be matched to a transitionmessage
- the messagecause
- the underlying cause
getEvent
public Event getEvent()
- Returns the event for the current request that did not trigger any supported transition.