Class InvalidMessageException
This exception is thrown when an invalid message is sent to an Actor.
note
Currently only null
is an invalid message.
Implements
Inherited Members
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public class InvalidMessageException : AkkaException, ISerializable
Constructors
| Improve this Doc View SourceInvalidMessageException()
Initializes a new instance of the InvalidMessageException class.
Declaration
public InvalidMessageException()
InvalidMessageException(SerializationInfo, StreamingContext)
Initializes a new instance of the InvalidMessageException class.
Declaration
protected InvalidMessageException(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. |
InvalidMessageException(String)
Initializes a new instance of the InvalidMessageException class.
Declaration
public InvalidMessageException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |