public class OnStateMachineError extends StateMachineEvent
Constructor and Description |
---|
OnStateMachineError(java.lang.Object source,
StateMachine<?,?> stateMachine,
java.lang.Exception exception)
Instantiates a new on state exit event.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getException()
Gets the exception.
|
StateMachine<?,?> |
getStateMachine()
Gets the statemachine.
|
java.lang.String |
toString() |
public OnStateMachineError(java.lang.Object source, StateMachine<?,?> stateMachine, java.lang.Exception exception)
source
- the sourcestateMachine
- the statemachineexception
- the exceptionpublic StateMachine<?,?> getStateMachine()
public java.lang.Exception getException()
public java.lang.String toString()
toString
in class StateMachineEvent