Package akka.actor
Class ActorInitializationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- akka.AkkaException
-
- 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 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
Constructors Modifier Constructor Description protected
ActorInitializationException(ActorRef actor, java.lang.String message, java.lang.Throwable cause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActorRef
getActor()
static scala.Option<scala.Tuple3<ActorRef,java.lang.String,java.lang.Throwable>>
unapply(ActorInitializationException ex)
-
-
-
Constructor Detail
-
ActorInitializationException
protected ActorInitializationException(ActorRef actor, java.lang.String message, java.lang.Throwable cause)
-
-
Method Detail
-
unapply
public static scala.Option<scala.Tuple3<ActorRef,java.lang.String,java.lang.Throwable>> unapply(ActorInitializationException ex)
-
getActor
public ActorRef getActor()
-
-