akka.actor
Class PreRestartException

java.lang.Object
  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.PreRestartException
All Implemented Interfaces:
java.io.Serializable, scala.Equals, scala.Product

public class PreRestartException
extends ActorInitializationException
implements scala.Product, scala.Serializable

A PreRestartException is thrown when the preRestart() method failed; this exception is not propagated to the supervisor, as it originates from the already failed instance, hence it is only visible as log entry on the event stream.

See Also:
Serialized Form

Method Summary
 ActorRef actor()
           
 java.lang.Throwable cause()
           
 scala.Option<java.lang.Object> messageOption()
           
 java.lang.Throwable originalCause()
           
 
Methods inherited from class akka.actor.ActorInitializationException
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
 

Method Detail

actor

public ActorRef actor()

cause

public java.lang.Throwable cause()

originalCause

public java.lang.Throwable originalCause()

messageOption

public scala.Option<java.lang.Object> messageOption()