Package com.tangosol.util.fsm
Class RollbackTransitionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.tangosol.util.fsm.RollbackTransitionException
- All Implemented Interfaces:
- Serializable
A 
RollbackTransitionException may be thrown during an TransitionAction
 for a Transition if the said Transition should be aborted.  ie: no state
 change should occur.- Since:
- Coherence 12.2.1
- Author:
- Brian Oliver
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionRollbackTransitionException(Enum<?> stateFrom, Enum<?> stateTo, String sReason) Constructs aRollbackTransitionExceptionwith the specified from and to states.RollbackTransitionException(Enum<?> stateFrom, Enum<?> stateTo, Throwable cause) Constructs aRollbackTransitionExceptionwith the specified from and to states.
- 
Method SummaryModifier and TypeMethodDescriptionEnum<?> Obtain the state from which theTransitionwas rolled back.Enum<?> Obtain the state to which theTransitiondid not occur.Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
RollbackTransitionExceptionConstructs aRollbackTransitionExceptionwith the specified from and to states.- Parameters:
- stateFrom- the state from which the- Transitionwas being made
- stateTo- the state to which the- Transitionwas being made
- sReason- the reason for the rollback
 
- 
RollbackTransitionExceptionConstructs aRollbackTransitionExceptionwith the specified from and to states.- Parameters:
- stateFrom- the state from which the- Transitionwas being made
- stateTo- the state to which the- Transitionwas being made
- cause- the underlying exception that caused the rollback
 
 
- 
- 
Method Details- 
getStateFromObtain the state from which theTransitionwas rolled back.- Returns:
- the state from which the Transitionwas rolled back
 
- 
getStateToObtain the state to which theTransitiondid not occur.- Returns:
- the state to which the Transitiondid not occur
 
 
-