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 Detail

      • ActorInitializationException

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