akka.actor
Class ActorInitializationException

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
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PostRestartException, PreRestartException

public class ActorInitializationException
extends AkkaException

An ActorInitializationException is thrown when the the initialization logic for an Actor fails.

There is an extractor which works for ActorInitializationException and its subtypes:


 ex match {
   case ActorInitializationException(actor, message, cause) => ...
 }
 

See Also:
Serialized Form

Constructor Summary
protected ActorInitializationException(ActorRef actor, java.lang.String message, java.lang.Throwable cause)
           
 
Method Summary
static ActorInitializationException apply(ActorRef actor, java.lang.String message, java.lang.Throwable cause)
           
static ActorInitializationException apply(java.lang.String message)
           
 ActorRef getActor()
           
static scala.Option<scala.Tuple3<ActorRef,java.lang.String,java.lang.Throwable>> unapply(ActorInitializationException ex)
           
 
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
 

Constructor Detail

ActorInitializationException

protected ActorInitializationException(ActorRef actor,
                                       java.lang.String message,
                                       java.lang.Throwable cause)
Method Detail

apply

public static ActorInitializationException apply(ActorRef actor,
                                                 java.lang.String message,
                                                 java.lang.Throwable cause)

apply

public static ActorInitializationException apply(java.lang.String message)

unapply

public static scala.Option<scala.Tuple3<ActorRef,java.lang.String,java.lang.Throwable>> unapply(ActorInitializationException ex)

getActor

public ActorRef getActor()