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); }
Object->Throwable(Serializable)->Exception->RuntimeException->IllegalMonitorStateException