Class AkkaException
This exception provides the base for all Akka.NET specific exceptions within the system.
Inheritance
AkkaException
Implements
Inherited Members
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public abstract class AkkaException : Exception, ISerializable
Constructors
| Improve this Doc View SourceAkkaException()
Initializes a new instance of the AkkaException class.
Declaration
protected AkkaException()
AkkaException(SerializationInfo, StreamingContext)
Initializes a new instance of the AkkaException class.
Declaration
protected AkkaException(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. |
AkkaException(String, Exception)
Initializes a new instance of the AkkaException class.
Declaration
protected AkkaException(string message, Exception cause = null)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
Exception | cause | The exception that is the cause of the current exception. |
Properties
| Improve this Doc View SourceCause
The exception that is the cause of the current exception.
Declaration
protected Exception Cause { get; }
Property Value
Type | Description |
---|---|
Exception |