Class IllegalActorStateException
This exception is thrown when a core invariant in the Actor implementation has been violated. For instance, if you try to create an Actor that doesn't inherit from ActorBase.
Implements
Inherited Members
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public class IllegalActorStateException : AkkaException, ISerializable
Constructors
| Improve this Doc View SourceIllegalActorStateException(SerializationInfo, StreamingContext)
Initializes a new instance of the IllegalActorStateException class.
Declaration
protected IllegalActorStateException(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. |
IllegalActorStateException(String)
Initializes a new instance of the IllegalActorStateException class.
Declaration
public IllegalActorStateException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |