Class AkkaProtocolException
This exception is thrown when an error occurred during the Akka protocol handshake.
Implements
Inherited Members
Namespace: Akka.Remote.Transport
Assembly: Akka.Remote.dll
Syntax
public class AkkaProtocolException : AkkaException, ISerializable
Constructors
| Improve this Doc View SourceAkkaProtocolException(SerializationInfo, StreamingContext)
Initializes a new instance of the AkkaProtocolException class.
Declaration
protected AkkaProtocolException(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. |
AkkaProtocolException(String, Exception)
Initializes a new instance of the AkkaProtocolException class.
Declaration
public AkkaProtocolException(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. |