akka.actor
Class FSM.Failure

java.lang.Object
  extended by akka.actor.FSM.Failure
All Implemented Interfaces:
FSM.Reason, java.io.Serializable, scala.Equals, scala.Product
Enclosing interface:
FSM<S,D>

public static class FSM.Failure
extends java.lang.Object
implements FSM.Reason, scala.Product, scala.Serializable

Signifies that the FSM is shutting itself down because of an error, e.g. if the state to transition into does not exist. You can use this to communicate a more precise cause to the akka.actor.FSM.onTermination block.

See Also:
Serialized Form

Constructor Summary
FSM.Failure(java.lang.Object cause)
           
 
Method Summary
 java.lang.Object cause()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

FSM.Failure

public FSM.Failure(java.lang.Object cause)
Method Detail

cause

public java.lang.Object cause()