Package org.apache.pekko.actor
Class PostRestartException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.pekko.PekkoException
org.apache.pekko.actor.ActorInitializationException
org.apache.pekko.actor.PostRestartException
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
public final class PostRestartException
extends ActorInitializationException
implements scala.Product, 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:
-
Method Summary
Modifier and TypeMethodDescriptionactor()static PostRestartExceptionbooleancause()booleaninthashCode()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>static final StringtoString()Methods inherited from class org.apache.pekko.actor.ActorInitializationException
getActor, unapplyMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Method Details
-
toString
-
apply
-
unapply
public static scala.Option<scala.Tuple3<ActorRef,Throwable, unapplyThrowable>> (PostRestartException x$0) -
actor
-
cause
-
originalCause
-
copy
-
copy$default$1
-
copy$default$2
-
copy$default$3
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
equals
-