java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.lang.RuntimeException | |||
↳ | java.lang.IllegalStateException |
Thrown when an action is attempted at a time when the VM is not in the correct state.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new
IllegalStateException that includes the current
stack trace. | |||||||||||
Constructs a new
IllegalStateException with the current stack
trace and the specified detail message. | |||||||||||
Constructs a new
IllegalStateException with the current stack
trace, the specified detail message and the specified cause. | |||||||||||
Constructs a new
IllegalStateException with the current stack
trace and the specified cause. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Constructs a new IllegalStateException
that includes the current
stack trace.
Constructs a new IllegalStateException
with the current stack
trace and the specified detail message.
detailMessage | the detail message for this exception. |
---|
Constructs a new IllegalStateException
with the current stack
trace, the specified detail message and the specified cause.
message | the detail message for this exception. |
---|---|
cause | the cause of this exception. |
Constructs a new IllegalStateException
with the current stack
trace and the specified cause.
cause | the cause of this exception, may be null . |
---|