Java in a Nutshell

Previous Chapter 25
The java.lang Package
Next
 

25.25 java.lang.IllegalMonitorStateException (JDK 1.0)

Signals an illegal monitor state. It is thrown by the Object notify() and wait() methods used for thread synchronization.

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

Hierarchy:

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


Previous Home Next
java.lang.IllegalArgumentException (JDK 1.0) Book Index java.lang.IllegalStateException (JDK 1.1)

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