public class NoMatchingTransitionException extends FlowExecutionException
Typically this happens because there is no "handler" transition for the last event that occured.
| Constructor and Description |
|---|
NoMatchingTransitionException(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.
|
| Modifier and Type | Method and Description |
|---|---|
Event |
getEvent()
Returns the event for the current request that did not trigger any supported transition.
|
getFlowId, getStateIdaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NoMatchingTransitionException(String flowId, String stateId, Event event, 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(String flowId, String stateId, Event event, String message, 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()