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
| Improve this Doc 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. |