Class java.lang.IllegalMonitorStateException
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.lang.IllegalMonitorStateException

Object
   |
   +----Throwable
           |
           +----Exception
                   |
                   +----RuntimeException
                           |
                           +----java.lang.IllegalMonitorStateException

public class IllegalMonitorStateException
extends RuntimeException
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.

Version:
1.5, 07/01/98
Author:
unascribed
Since:
JDK1.0
See Also:
notify(), notifyAll(), wait(), wait(long), wait(long, int)

Constructor Index

 o java.lang.IllegalMonitorStateException()
Constructs an IllegalMonitorStateException with no detail message.
 o java.lang.IllegalMonitorStateException(String)
Constructs an IllegalMonitorStateException with the specified detail message.

Constructors

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

Since:
JDK1.0
 o IllegalMonitorStateException
public IllegalMonitorStateException(String s)
Constructs an IllegalMonitorStateException with the specified detail message.

Parameters:
s - the detail message.
Since:
JDK1.0

All Packages  Class Hierarchy  This Package  Previous  Next  Index