de.danet.an.workflow.omgcore
Class TransitionNotAllowedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.danet.an.workflow.omgcore.TransitionNotAllowedException
- All Implemented Interfaces:
- java.io.Serializable
- public class TransitionNotAllowedException
- extends java.lang.Exception
- implements java.io.Serializable
This exception is raised by an attempt to perform an invalid state
transistion of a
WfExecutionObject
.
- See Also:
- Serialized Form
Fields inherited from class java.lang.Exception |
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TransitionNotAllowedException
public TransitionNotAllowedException(WfExecutionObject.State from,
WfExecutionObject.State to)
- Creates a new
TransitionNotAllowedException
.
- Parameters:
from
- current stateto
- new state
TransitionNotAllowedException
public TransitionNotAllowedException(WfExecutionObject.State from,
WfExecutionObject.State to,
java.lang.String msg)
- Creates a new
TransitionNotAllowedException
with the
given message.
- Parameters:
from
- current stateto
- new statemsg
- description of the cause.
TransitionNotAllowedException
public TransitionNotAllowedException(java.lang.String msg)
- Creates a new
TransitionNotAllowedException
with the
given message.
- Parameters:
msg
- the given message.