public class IllegalMonitorStateException extends RuntimeException
void m() {
notify();
}
| Constructor and Description |
|---|
IllegalMonitorStateException()
Create an exception without a message.
|
IllegalMonitorStateException(String s)
Create an exception with a message.
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IllegalMonitorStateException()
public IllegalMonitorStateException(String s)
s - the message