java.lang
Class IllegalMonitorStateException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--java.lang.IllegalMonitorStateException
- public class IllegalMonitorStateException
- extends RuntimeException
Signals that a monitor operation has been attempted when the monitor
is in an invalid state. For example, trying to notify a monitor that
you do not own would invoke this class.
IllegalMonitorStateException
public IllegalMonitorStateException()
- Constructs an IllegalMonitorStateException with no detail message.
A detail message is a String that describes this particular exception.
IllegalMonitorStateException
public IllegalMonitorStateException(String s)
- Constructs an IllegalMonitorStateException with the specified detail
message. A detail message is a String that describes this particular
exception.
- Parameters:
s
- the String that contains a detailed message