java.lang.IllegalMonitorStateException
java.lang.RuntimeException
None
None
JDK 1.0 or later
An IllegalMonitorStateException is thrown when an object's wait(), notify(), or notifyAll() method is called from a thread that does not own the object's monitor.
public class java.lang.IllegalMonitorStateException
extends java.lang.RuntimeException {
// Constructors
public IllegalMonitorStateException();
public IllegalMonitorStateException(String s);
}
This constructor creates an IllegalMonitorStateException with no associated detail message.
The detail message.
This constructor creates an IllegalMonitorStateException with the specified detail message.
|
Method |
Inherited From |
Method |
Inherited From |
|---|---|---|---|
|
clone() |
Object |
equals(Object) |
Object |
|
fillInStackTrace() |
Throwable |
finalize() |
Object |
|
getClass() |
Object |
getLocalizedMessage() |
Throwable |
|
getMessage() |
Throwable |
hashCode() |
Object |
|
notify() |
Object |
notifyAll() |
Object |
|
printStackTrace() |
Throwable |
printStackTrace(PrintStream) |
Throwable |
|
printStackTrace(PrintWriter) |
Throwable |
toString() |
Object |
|
wait() |
Object |
wait(long) |
Object |
|
wait(long, int) |
Object |
Exception, Object, RuntimeException, Throwable