Class PostRestartException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by akka.AkkaException
                  extended by akka.actor.ActorInitializationException
                      extended by 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

Constructor Summary
PostRestartException(ActorRef actor, java.lang.Throwable cause, java.lang.Throwable originalCause)
Method Summary
 ActorRef actor()
 java.lang.Throwable cause()
 java.lang.Throwable originalCause()
Methods inherited from class akka.actor.ActorInitializationException
apply, apply, getActor, unapply
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

Constructor Detail


public PostRestartException(ActorRef actor,
                            java.lang.Throwable cause,
                            java.lang.Throwable originalCause)
Method Detail


public ActorRef actor()


public java.lang.Throwable cause()


public java.lang.Throwable originalCause()