Package akka.actor

Class PostRestartException

  • All Implemented Interfaces:
    java.io.Serializable, scala.Equals, scala.Product

    public final class PostRestartException
    extends ActorInitializationException
    implements scala.Product, java.io.Serializable
    A PostRestartException is thrown when constructor or postRestart() method fails during a restart attempt.

    param: actor is the actor whose constructor or postRestart() hook failed param: cause is the exception thrown by that actor within preRestart() param: originalCause is the exception which caused the restart in the first place

    See Also:
    Serialized Form
    • Method Detail

      • toString

        public static final java.lang.String toString()
      • unapply

        public static scala.Option<scala.Tuple3<ActorRef,​java.lang.Throwable,​java.lang.Throwable>> unapply​(PostRestartException x$0)
      • cause

        public java.lang.Throwable cause()
      • originalCause

        public java.lang.Throwable originalCause()
      • copy$default$1

        public ActorRef copy$default$1()
      • copy$default$2

        public java.lang.Throwable copy$default$2()
      • copy$default$3

        public java.lang.Throwable copy$default$3()
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • productElementName

        public java.lang.String productElementName​(int x$1)
        Specified by:
        productElementName in interface scala.Product
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        Overrides:
        equals in class java.lang.Object