Class: IllegalArgumentException

IllegalArgumentException

Thrown to indicate that a method has been passed an illegal or inappropriate argument.
Use toString to extract details on the error occurred.

new IllegalArgumentException(message)

Constructs an IllegalArgumentException with the specified detail message.
Parameters:
Name Type Description
message String short description of the error.

Members

message :String

Human-readable description of the error.
Type:
  • String

name :String

Name of the error, contains the "IllegalArgumentException" String.
Type:
  • String