Class InvalidStateException
- Namespace
- Garyon.Exceptions
- Assembly
- Garyon.dll
An exception that is thrown when the state of an object or operation is corrupted. Usually an assertion failure may lead to throwing this exception.
public sealed class InvalidStateException : Exception, ISerializable
- Inheritance
-
InvalidStateException
- Implements
- Inherited Members
- Extension Methods
Constructors
InvalidStateException(string)
An exception that is thrown when the state of an object or operation is corrupted. Usually an assertion failure may lead to throwing this exception.
public InvalidStateException(string message = "The operation's state is invalid.")
Parameters
messagestring