public class NoMatchingTransitionException extends FlowExecutionException
Typically this happens because there is no "handler" transition for the last event that occured.
Constructor and Description |
---|
NoMatchingTransitionException(java.lang.String flowId,
java.lang.String stateId,
Event event,
java.lang.String message)
Create a new no matching transition exception.
|
NoMatchingTransitionException(java.lang.String flowId,
java.lang.String stateId,
Event event,
java.lang.String message,
java.lang.Throwable cause)
Create a new no matching transition exception.
|
Modifier and Type | Method and Description |
---|---|
Event |
getEvent()
Returns the event for the current request that did not trigger any supported transition.
|
getFlowId, getStateId
public NoMatchingTransitionException(java.lang.String flowId, java.lang.String stateId, Event event, java.lang.String message)
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 messagepublic NoMatchingTransitionException(java.lang.String flowId, java.lang.String stateId, Event event, java.lang.String message, java.lang.Throwable cause)
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 causepublic Event getEvent()