public class RollbackTransitionException extends Exception
RollbackTransitionException may be thrown during an TransitionAction
 for a Transition if the said Transition should be aborted.  ie: no state
 change should occur.| Constructor and Description | 
|---|
RollbackTransitionException(Enum<?> stateFrom,
                           Enum<?> stateTo,
                           String sReason)
Constructs a  
RollbackTransitionException with the specified from and to states. | 
RollbackTransitionException(Enum<?> stateFrom,
                           Enum<?> stateTo,
                           Throwable cause)
Constructs a  
RollbackTransitionException with the specified from and to states. | 
| Modifier and Type | Method and Description | 
|---|---|
Enum<?> | 
getStateFrom()
Obtain the state from which the  
Transition was rolled back. | 
Enum<?> | 
getStateTo()
Obtain the state to which the  
Transition did not occur. | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RollbackTransitionException(Enum<?> stateFrom, Enum<?> stateTo, String sReason)
RollbackTransitionException with the specified from and to states.stateFrom - the state from which the Transition was being madestateTo - the state to which the Transition was being madesReason - the reason for the rollbackpublic RollbackTransitionException(Enum<?> stateFrom, Enum<?> stateTo, Throwable cause)
RollbackTransitionException with the specified from and to states.stateFrom - the state from which the Transition was being madestateTo - the state to which the Transition was being madecause - the underlying exception that caused the rollbackpublic Enum<?> getStateFrom()
Transition was rolled back.Transition was rolled backpublic Enum<?> getStateTo()
Transition did not occur.Transition did not occur