org.jbpm
Class IllegalTransitionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jbpm.util.lang.ChainedException
org.jbpm.ExecutionException
org.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
| 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 |
IllegalTransitionException
public IllegalTransitionException(java.lang.String msg)
IllegalTransitionException
public IllegalTransitionException(java.lang.String msg,
java.lang.Throwable cause)
Version : jbpm-2.0