Ejemplo n.º 1
0
 public EnteredErrorStateException(StateMachineInternalBase stateMachine, string eventName, string currentStateName) :
     base($@"Entered error state ""{currentStateName}"". State machine trace: {stateMachine.EventTrace}")
 {
 }
 internal ActionRaisedException(StateMachineInternalBase stateMachine, string currentStateName, Exception actionException) :
     base($@"Action terminated by an exception in state ""{currentStateName}"". State machine trace: {stateMachine.EventTrace}", actionException)
 {
 }
 public UnexpectedEventException(StateMachineInternalBase stateMachine, string eventName, string currentStateName) :
     base($@"Unexpected event ""{eventName}"" encountered in state ""{currentStateName}"". State machine trace: {stateMachine.EventTrace}")
 {
 }