public class IllegalStateException extends RuntimeException
| Constructor and Description |
|---|
IllegalStateException()
Constructs a new
IllegalStateException that includes the current
stack trace. |
IllegalStateException(String detailMessage)
Constructs a new
IllegalStateException with the current stack
trace and the specified detail message. |
IllegalStateException(String message,
Throwable cause)
Constructs a new
IllegalStateException with the current stack
trace, the specified detail message and the specified cause. |
IllegalStateException(Throwable cause)
Constructs a new
IllegalStateException with the current stack
trace and the specified cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IllegalStateException()
IllegalStateException that includes the current
stack trace.public IllegalStateException(String detailMessage)
IllegalStateException with the current stack
trace and the specified detail message.detailMessage - the detail message for this exception.public IllegalStateException(String message, Throwable cause)
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.public IllegalStateException(Throwable cause)
IllegalStateException with the current stack
trace and the specified cause.cause - the cause of this exception, may be null.