|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
public class IllegalStateException
This runtime exception is thrown when an action is attempted at a time when the virtual machine is not in the correct state.
| Constructor Summary | |
|---|---|
IllegalStateException()
Constructs a new instance of this class with its walkback filled in. |
|
IllegalStateException(String detailMessage)
Constructs a new instance of this class with its walkback and message filled in. |
|
IllegalStateException(String message,
Throwable cause)
Constructs a new instance with a message and cause. |
|
IllegalStateException(Throwable cause)
Constructs a new instance with a cause. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, nullStackTrace, printStackTrace, printStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, println |
| Constructor Detail |
|---|
public IllegalStateException()
public IllegalStateException(String detailMessage)
detailMessage - String The detail message for the exception.
public IllegalStateException(String message,
Throwable cause)
Constructs a new instance with a message and cause.
message - The message to assign to this exception.cause - The optional cause of this exception; may be null.public IllegalStateException(Throwable cause)
Constructs a new instance with a cause.
cause - The optional cause of this exception; may be null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||