IllegalMonitorStateExceptionpublic class IllegalMonitorStateException extends RuntimeException Thrown when a monitor operation is attempted when the monitor is not in the
correct state, for example when a thread attempts to exit a monitor which it
does not own. |
Fields Summary |
---|
private static final long | serialVersionUID |
Constructors Summary |
---|
public IllegalMonitorStateException()Constructs a new {@code IllegalMonitorStateException} that includes the
current stack trace.
super();
| public IllegalMonitorStateException(String detailMessage)Constructs a new {@code IllegalArgumentException} with the current stack
trace and the specified detail message.
super(detailMessage);
|
|