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 );
}