Package akka.actor
Class DeathPactException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- akka.AkkaException
-
- akka.actor.DeathPactException
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
,scala.util.control.NoStackTrace
public final class DeathPactException extends AkkaException implements scala.util.control.NoStackTrace, scala.Product, java.io.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:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeathPactException
apply(ActorRef dead)
boolean
canEqual(java.lang.Object x$1)
DeathPactException
copy(ActorRef dead)
ActorRef
copy$default$1()
ActorRef
dead()
boolean
equals(java.lang.Object x$1)
int
hashCode()
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<ActorRef>
unapply(DeathPactException x$0)
-
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 DeathPactException apply(ActorRef dead)
-
unapply
public static scala.Option<ActorRef> unapply(DeathPactException x$0)
-
dead
public ActorRef dead()
-
copy
public DeathPactException copy(ActorRef dead)
-
copy$default$1
public ActorRef copy$default$1()
-
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
-
-