Table of Contents

Constructor InvalidStateException

Namespace
WhalesSecret.TradeScriptLib.Exceptions
Assembly
WhalesSecret.TradeScriptLib.dll

InvalidStateException()

Initializes a new instance of the InvalidStateException class.

public InvalidStateException()

InvalidStateException(string)

Initializes a new instance of the InvalidStateException class with a specified error message.

public InvalidStateException(string message)

Parameters

message string

The message that describes the error.

InvalidStateException(string, Exception?)

Initializes a new instance of the InvalidStateException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public InvalidStateException(string message, Exception? innerException)

Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.