start page | rating of books | rating of authors | reviews | copyrights

Java in a Nutshell

Previous Chapter 25
The java.lang Package
Next
 

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


Previous Home Next
java.lang.IllegalMonitorStateException (JDK 1.0) Book Index java.lang.IllegalThreadStateException (JDK 1.0)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java