|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.lang.RuntimeException | +--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.
java.lang.Object#notify()
,
java.lang.Object#notifyAll()
,
java.lang.Object#wait()
,
java.lang.Object#wait(long)
,
java.lang.Object#wait(long, int)
Constructor Summary | |
IllegalMonitorStateException()
Constructs an IllegalMonitorStateException with no
detail message. |
|
IllegalMonitorStateException(String s)
Constructs an IllegalMonitorStateException with the
specified detail message. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode |
Constructor Detail |
public IllegalMonitorStateException()
IllegalMonitorStateException
with no
detail message.
public IllegalMonitorStateException(String s)
IllegalMonitorStateException
with the
specified detail message.
s
- the detail message.
|
MIT ACM/IEEE Programming Competition |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |