org.jbpm
Class IllegalTransitionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.jbpm.util.lang.ChainedException
              extended byorg.jbpm.ExecutionException
                  extended byorg.jbpm.IllegalTransitionException
All Implemented Interfaces:
java.io.Serializable

public class IllegalTransitionException
extends ExecutionException

is thrown when the client specifies an illegal transitionName in org.jbpm.ExecutionService#startProcessInstance(String, Long, Map, String) or in org.jbpm.ExecutionService#endOfState(String, Long, Map, String).

Note that null is a valid transition name if exactly one transition is leaving the state.

In method org.jbpm.ExecutionService#startProcessInstance(String, Long, Map, String) a transitionName is illegal if the start state of the specified process definition does not have a leaving transition with that name. In method org.jbpm.ExecutionService#endOfState(String, Long, Map, String) a transitionName is illegal if the current state of the token does not have a leaving transition with that name.

See Also:
Serialized Form

Constructor Summary
IllegalTransitionException(java.lang.String msg)
           
IllegalTransitionException(java.lang.String msg, java.lang.Throwable cause)
           
 
Methods inherited from class org.jbpm.util.lang.ChainedException
printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalTransitionException

public IllegalTransitionException(java.lang.String msg)

IllegalTransitionException

public IllegalTransitionException(java.lang.String msg,
                                  java.lang.Throwable cause)


Version : jbpm-2.0