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:
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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActorRef
actor()
static PostRestartException
apply(ActorRef actor, java.lang.Throwable cause, java.lang.Throwable originalCause)
boolean
canEqual(java.lang.Object x$1)
java.lang.Throwable
cause()
PostRestartException
copy(ActorRef actor, java.lang.Throwable cause, java.lang.Throwable originalCause)
ActorRef
copy$default$1()
java.lang.Throwable
copy$default$2()
java.lang.Throwable
copy$default$3()
boolean
equals(java.lang.Object x$1)
int
hashCode()
java.lang.Throwable
originalCause()
int
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
static java.lang.String
toString()
static scala.Option<scala.Tuple3<ActorRef,java.lang.Throwable,java.lang.Throwable>>
unapply(PostRestartException x$0)
-
Methods inherited from class org.apache.pekko.actor.ActorInitializationException
getActor, unapply
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
toString
public static final java.lang.String toString()
-
apply
public static PostRestartException apply(ActorRef actor, java.lang.Throwable cause, java.lang.Throwable originalCause)
-
unapply
public static scala.Option<scala.Tuple3<ActorRef,java.lang.Throwable,java.lang.Throwable>> unapply(PostRestartException x$0)
-
actor
public ActorRef actor()
-
cause
public java.lang.Throwable cause()
-
originalCause
public java.lang.Throwable originalCause()
-
copy
public PostRestartException copy(ActorRef actor, java.lang.Throwable cause, 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 interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-