java.lang.IllegalStateException
java.lang.RuntimeException
None
None
New as of JDK 1.1
An IllegalStateException is thrown to indicate that a method has been invoked when the run-time environment is in an inappropriate state for the requested operation.
public class java.lang.IllegalStateException
             extends java.lang.RuntimeException {
  // Constructors
  public IllegalStateException();
  public IllegalStateException(String s);
}
This constructor creates an IllegalStateException with no associated detail message.
The detail message.
This constructor creates an IllegalStateException with the specified detail message.
| Method | Inherited From | Method | Inherited From | 
|---|---|---|---|
| clone() | Object | equals(Object) | Object | 
| fillInStackTrace() | Throwable | finalize() | Object | 
| getClass() | Object | getLocalizedMessage() | Throwable | 
| getMessage() | Throwable | hashCode() | Object | 
| notify() | Object | notifyAll() | Object | 
| printStackTrace() | Throwable | printStackTrace(PrintStream) | Throwable | 
| printStackTrace(PrintWriter) | Throwable | toString() | Object | 
| wait() | Object | wait(long) | Object | 
| wait(long, int) | Object | 
Exception, Object, RuntimeException, Throwable