InvalidArgumentException

constructor()

Constructs a new instance of the exception with no message or cause.


constructor(message: String)

Constructs a new instance of the exception with the specified error message.

Parameters

message

The error message describing the exception.


constructor(cause: Throwable)

Constructs a new instance of the exception with the specified cause.

Parameters

cause

The cause of the exception.


constructor(message: String, cause: Throwable)

Constructs a new instance of the exception with the specified error message and cause.

Parameters

message

The error message describing the exception.

cause

The cause of the exception.