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
stringError 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
stringError message that explains the reason for the exception.
innerException
ExceptionOptionally, 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)