Class java.lang.IllegalMonitorStateException
All Packages Class Hierarchy This Package Previous Next Index
Class java.lang.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()
- Constructs an IllegalMonitorStateException with no detail message.
- IllegalMonitorStateException(String)
- Constructs an IllegalMonitorStateException with the specified detail
message.
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
All Packages Class Hierarchy This Package Previous Next Index