Package org.apache.pekko.stream
Class AbruptTerminationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.pekko.stream.AbruptStreamTerminationException
-
- org.apache.pekko.stream.AbruptTerminationException
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
,scala.util.control.NoStackTrace
public final class AbruptTerminationException extends AbruptStreamTerminationException implements scala.Product, java.io.Serializable
This exception signals that an actor implementing a Reactive Streams Subscriber, Publisher or Processor has been terminated without being notified by an onError, onComplete or cancel signal. This usually happens when an ActorSystem is shut down while stream processing actors are still running.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbruptTerminationException(ActorRef actor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActorRef
actor()
static AbruptTerminationException
apply(ActorRef actor)
boolean
canEqual(java.lang.Object x$1)
AbruptTerminationException
copy(ActorRef actor)
ActorRef
copy$default$1()
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(AbruptTerminationException x$0)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AbruptTerminationException
public AbruptTerminationException(ActorRef actor)
-
-
Method Detail
-
toString
public static final java.lang.String toString()
-
apply
public static AbruptTerminationException apply(ActorRef actor)
-
unapply
public static scala.Option<ActorRef> unapply(AbruptTerminationException x$0)
-
actor
public ActorRef actor()
-
copy
public AbruptTerminationException copy(ActorRef actor)
-
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
-
-