public final class PreRestartException extends ActorInitializationException implements scala.Product, scala.Serializable
param: actor is the actor whose preRestart() 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 param: messageOption is the message which was optionally passed into preRestart()
Constructor and Description |
---|
PreRestartException(ActorRef actor,
java.lang.Throwable cause,
java.lang.Throwable originalCause,
scala.Option<java.lang.Object> messageOption) |
Modifier and Type | Method and Description |
---|---|
ActorRef |
actor() |
java.lang.Throwable |
cause() |
scala.Option<java.lang.Object> |
messageOption() |
java.lang.Throwable |
originalCause() |
apply, apply, getActor, unapply
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public PreRestartException(ActorRef actor, java.lang.Throwable cause, java.lang.Throwable originalCause, scala.Option<java.lang.Object> messageOption)
public ActorRef actor()
public java.lang.Throwable cause()
public java.lang.Throwable originalCause()
public scala.Option<java.lang.Object> messageOption()