Class UnstashException$

  • All Implemented Interfaces:
    java.io.Serializable

    public class UnstashException$
    extends java.lang.Object
    implements java.io.Serializable
    INTERNAL API
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static UnstashException$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> akka.actor.typed.internal.UnstashException<T> apply​(java.lang.Throwable cause, Behavior<T> behavior)
      INTERNAL API:
      <T> scala.Option<scala.Tuple2<java.lang.Throwable,​Behavior<T>>> unapply​(akka.actor.typed.internal.UnstashException<T> x$0)  
      java.lang.Throwable unwrap​(java.lang.Throwable t)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final UnstashException$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • UnstashException$

        public UnstashException$()
    • Method Detail

      • unwrap

        public java.lang.Throwable unwrap​(java.lang.Throwable t)
      • apply

        public <T> akka.actor.typed.internal.UnstashException<T> apply​(java.lang.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 UnstashException to emit the PreRestart and PostStop to the right behavior and install the latest behavior for resume strategy.

      • unapply

        public <T> scala.Option<scala.Tuple2<java.lang.Throwable,​Behavior<T>>> unapply​(akka.actor.typed.internal.UnstashException<T> x$0)