Class UnstashException$
java.lang.Object
org.apache.pekko.actor.typed.internal.UnstashException$
- All Implemented Interfaces:
Serializable
INTERNAL API
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UnstashException$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> org.apache.pekko.actor.typed.internal.UnstashException<T>INTERNAL API:unapply(org.apache.pekko.actor.typed.internal.UnstashException<T> x$0)
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
UnstashException$
public UnstashException$()
-
-
Method Details
-
unwrap
-
apply
public <T> org.apache.pekko.actor.typed.internal.UnstashException<T> apply(Throwable cause, Behavior<T> behavior) INTERNAL API:When unstashing, the exception is wrapped in UnstashException because supervisor strategy and ActorAdapter need the behavior that threw. It will use the behavior in the
UnstashExceptionto emit the PreRestart and PostStop to the right behavior and install the latest behavior for resume strategy. -
unapply
-