Exception: java.lang.IllegalMonitorStateException

Thrown to indicate that a thread has attempted to wait on an object's monitor or to notify other threads waiting on an object's monitor without owning the specified monitor.
Authors:
@author unascribed
See:
@see Object.notify()
@see Object.notifyAll()
@see Object.wait()
@see Object.wait(long)
@see Object.wait(long, int)
Version:
@version 1.12, 12/19/03
Since:
@since JDK1.0

Inheritance

Superclass tree: Implements:

Methods

  • IllegalMonitorStateExceptiontop

    public IllegalMonitorStateException()
    Constructs an IllegalMonitorStateException with no detail message.
    Google Code Search
    Stack Overflow
  • IllegalMonitorStateExceptiontop

    public IllegalMonitorStateException(String s)
    Constructs an IllegalMonitorStateException with the specified detail message.
    Parameters:
    @param s the detail message.
    Google Code Search
    Stack Overflow