akka.actor
Class PostRestartException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
akka.AkkaException
akka.actor.ActorInitializationException
akka.actor.PostRestartException
- All Implemented Interfaces:
- java.io.Serializable, scala.Equals, scala.Product
public class PostRestartException
- extends ActorInitializationException
- implements scala.Product, scala.Serializable
A PostRestartException is thrown when constructor or postRestart() method
fails during a restart attempt.
param: actor is the actor whose constructor or postRestart() hook failed
param: cause is the exception thrown by that actor within preRestart()
param: originalCause is the exception which caused the restart in the first place
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface scala.Product |
productArity, productElement, productIterator, productPrefix |
Methods inherited from interface scala.Equals |
canEqual, equals |
PostRestartException
public PostRestartException(ActorRef actor,
java.lang.Throwable cause,
java.lang.Throwable originalCause)
actor
public ActorRef actor()
cause
public java.lang.Throwable cause()
originalCause
public java.lang.Throwable originalCause()