Package org.apache.pekko.actor
Class DeathPactException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.pekko.PekkoException
org.apache.pekko.actor.DeathPactException
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product,scala.util.control.NoStackTrace
public final class DeathPactException
extends PekkoException
implements scala.util.control.NoStackTrace, scala.Product, Serializable
A DeathPactException is thrown by an Actor that receives a Terminated(someActor) message
that it doesn't handle itself, effectively crashing the Actor and escalating to the supervisor.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic DeathPactExceptionbooleandead()booleaninthashCode()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>static final StringtoString()static scala.Option<ActorRef>Methods 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.util.control.NoStackTrace
fillInStackTraceMethods inherited from interface scala.Product
productElementNames
-
Method Details
-
toString
-
apply
-
unapply
-
dead
-
copy
-
copy$default$1
-
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
-