Class 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:
  • Constructor Details

    • NoMatchingTransitionException

      public NoMatchingTransitionException(String flowId, String stateId, Event event, String message)
      Create a new no matching transition exception.
      Parameters:
      flowId - the current flow
      stateId - the state that could not be transitioned out of
      event - the event that occured that could not be matched to a transition
      message - 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 flow
      stateId - the state that could not be transitioned out of
      event - the event that occured that could not be matched to a transition
      message - the message
      cause - the underlying cause
  • Method Details

    • getEvent

      public Event getEvent()
      Returns the event for the current request that did not trigger any supported transition.