Team LiB
Previous Section Next Section

IllegalMonitorStateExceptionjava.lang

Java 1.0serializable unchecked

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

Figure 10-27. java.lang.IllegalMonitorStateException


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

    Team LiB
    Previous Section Next Section