Packages  This Package  Prev  Next  Index  

§1.33 Class IllegalMonitorStateException

public  class  java.lang.IllegalMonitorStateException
    extends  java.lang.RuntimeException  (I-§1.42)
{
        // Constructors
    public IllegalMonitorStateException();	§1.33.1
    public IllegalMonitorStateException(String  s);	§1.33.2
}
Thrown to indicate that a thread has attempted to wait on an object's monitor (I-§1.12.10- §1.12.12) or to notify other threads waiting on an object's monitor (I-§1.12.7, §1.12.8) without owning the specified monitor.


Constructors

IllegalMonitorStateException

public IllegalMonitorStateException()
Constructs an IllegalMonitorStateException with no detail message.

IllegalMonitorStateException

public IllegalMonitorStateException(String s)
Constructs an IllegalMonitorStateException with the specified detail message.
Parameters:
s - the detail message

Packages  This Package  Prev  Next  Index
Java API Document (HTML generated by dkramer on April 22, 1996)
Copyright © 1996 Sun Microsystems, Inc. All rights reserved
Please send any comments or corrections to doug.kramer@sun.com