Table of Contents

Constructor InvalidArgumentException

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

InvalidArgumentException()

Initializes a new instance of the InvalidArgumentException class.

public InvalidArgumentException()

InvalidArgumentException(string)

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

public InvalidArgumentException(string message)

Parameters

message string

Error message that explains the reason for the exception.

InvalidArgumentException(string, Exception?)

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

public InvalidArgumentException(string message, Exception? innerException)

Parameters

message string

Error message that explains the reason for the exception.

innerException Exception

Optionally, exception that is the cause of the current exception.

InvalidArgumentException(string, string?, Exception?)

Initializes a new instance of the InvalidArgumentException class with a specified error message and optionally a parameter name that caused this exception and optionally a reference to the inner exception that is the cause of this exception.

public InvalidArgumentException(string message, string? parameterName = null, Exception? innerException = null)

Parameters

message string

Error message that explains the reason for the exception.

parameterName string

Optionally, parameter name that caused this exception.

innerException Exception

Optionally, exception that is the cause of the current exception.