Class IllegalStateException
This exception is thrown when a method has been invoked at an illegal or inappropriate time.
Inheritance
IllegalStateException
Implements
Inherited Members
Namespace: Akka.Pattern
Assembly: Akka.dll
Syntax
public class IllegalStateException : AkkaException, ISerializable
Constructors
| Edit this page View SourceIllegalStateException(SerializationInfo, StreamingContext)
Initializes a new instance of the IllegalStateException class.
Declaration
protected IllegalStateException(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. |
IllegalStateException(string)
Initializes a new instance of the IllegalStateException class.
Declaration
public IllegalStateException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The message that describes the error. |
IllegalStateException(string, Exception)
Initializes a new instance of the IllegalStateException class.
Declaration
public IllegalStateException(string message, Exception innerEx)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The message that describes the error. |
| Exception | innerEx | The inner Exception that was thrown. |
Edit this page