public class IllegalMonitorStateException extends RuntimeException
Constructor and Description |
---|
IllegalMonitorStateException()
Constructs a new
IllegalMonitorStateException that includes the
current stack trace. |
IllegalMonitorStateException(String detailMessage)
Constructs a new
IllegalArgumentException with the current stack
trace and the specified detail message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IllegalMonitorStateException()
IllegalMonitorStateException
that includes the
current stack trace.public IllegalMonitorStateException(String detailMessage)
IllegalArgumentException
with the current stack
trace and the specified detail message.detailMessage
- the detail message for this exception.