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
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:
-
Constructor Summary
ConstructorDescriptionNoMatchingTransitionException
(String flowId, String stateId, Event event, String message) Create a new no matching transition exception.NoMatchingTransitionException
(String flowId, String stateId, Event event, String message, Throwable cause) Create a new no matching transition exception. -
Method Summary
Methods inherited from class org.springframework.webflow.execution.FlowExecutionException
getFlowId, getStateId
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoMatchingTransitionException
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
-
-
Method Details
-
getEvent
Returns the event for the current request that did not trigger any supported transition.
-