[Chapter 25] 25.26 java.lang.IllegalStateException (JDK 1.1)

#

| Chapter 25 The java.lang Package |

## 25.26 java.lang.IllegalStateException (JDK 1.1)

###

An exception of this type signals that a method has been invoked on an object that is not in an appropriate state to be able to perform the requested operation.

    public class IllegalStateException extends RuntimeException {
        // Public Constructors
                public IllegalStateException();
                public IllegalStateException(String s);
    }

### Hierarchy:

Object->Throwable(Serializable)->Exception->RuntimeException->IllegalStateException

### Extended By:

IllegalComponentStateException

java.lang.IllegalMonitorStateException (JDK 1.0) |  | java.lang.IllegalThreadStateException (JDK 1.0)