Package akka.actor

Class ActorInitializationException

  • All Implemented Interfaces:
    java.io.Serializable, scala.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)
    • Method Detail

      • apply$default$3

        public static java.lang.Throwable apply$default$3()
      • getMessage

        public static java.lang.String getMessage()
      • getLocalizedMessage

        public static java.lang.String getLocalizedMessage()
      • getCause

        public static java.lang.Throwable getCause()
      • initCause

        public static java.lang.Throwable initCause​(java.lang.Throwable x$1)
      • toString

        public static java.lang.String toString()
      • printStackTrace

        public static void printStackTrace()
      • printStackTrace

        public static void printStackTrace​(java.io.PrintStream x$1)
      • printStackTrace

        public static void printStackTrace​(java.io.PrintWriter x$1)
      • fillInStackTrace

        public static java.lang.Throwable fillInStackTrace()
      • getStackTrace

        public static java.lang.StackTraceElement[] getStackTrace()
      • setStackTrace

        public static void setStackTrace​(java.lang.StackTraceElement[] x$1)
      • addSuppressed

        public static final void addSuppressed​(java.lang.Throwable x$1)
      • getSuppressed

        public static final java.lang.Throwable[] getSuppressed()