de.danet.an.workflow.omgcore
Class TransitionNotAllowedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byde.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

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
TransitionNotAllowedException(java.lang.String msg)
          Creates a new TransitionNotAllowedException with the given message.
TransitionNotAllowedException(WfExecutionObject.State from, WfExecutionObject.State to)
          Creates a new TransitionNotAllowedException.
TransitionNotAllowedException(WfExecutionObject.State from, WfExecutionObject.State to, java.lang.String msg)
          Creates a new TransitionNotAllowedException with the given message.
 
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
 

Constructor Detail

TransitionNotAllowedException

public TransitionNotAllowedException(WfExecutionObject.State from,
                                     WfExecutionObject.State to)
Creates a new TransitionNotAllowedException.

Parameters:
from - current state
to - 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 state
to - new state
msg - description of the cause.

TransitionNotAllowedException

public TransitionNotAllowedException(java.lang.String msg)
Creates a new TransitionNotAllowedException with the given message.

Parameters:
msg - the given message.