Class: IllegalStateException

IllegalStateException

Thrown to indicate that a method has been invoked at an illegal or inappropriate time or that the internal state of an object is incompatible with the call.
Use toString to extract details on the error occurred.

new IllegalStateException(message)

Constructs an IllegalStateException 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 "IllegalStateException" String.
Type:
  • String