Class AbruptTerminationException
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.
Implements
Inherited Members
Namespace: Akka.Streams
Assembly: Akka.Streams.dll
Syntax
[Serializable]
public class AbruptTerminationException : Exception, ISerializable
Constructors
| Improve this Doc View SourceAbruptTerminationException(IActorRef)
Initializes a new instance of the AbruptTerminationException class.
Declaration
public AbruptTerminationException(IActorRef actor)
Parameters
Type | Name | Description |
---|---|---|
IActorRef | actor | The actor that was terminated. |
AbruptTerminationException(SerializationInfo, StreamingContext)
Initializes a new instance of the AbruptTerminationException class.
Declaration
protected AbruptTerminationException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
Fields
| Improve this Doc View SourceActor
The actor that was terminated without notification.
Declaration
public readonly IActorRef Actor
Field Value
Type | Description |
---|---|
IActorRef |