Package akka.actor

Class 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)  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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)