DthingApi
Public Member Functions | List of all members
java.lang.IllegalMonitorStateException Class Reference
Inheritance diagram for java.lang.IllegalMonitorStateException:
java.lang.RuntimeException java.lang.Exception java.lang.Throwable

Public Member Functions

 IllegalMonitorStateException ()
 
 IllegalMonitorStateException (String detailMessage)
 
- Public Member Functions inherited from java.lang.RuntimeException
 RuntimeException ()
 
 RuntimeException (String detailMessage)
 
- Public Member Functions inherited from java.lang.Exception
 Exception ()
 
 Exception (String detailMessage)
 
- Public Member Functions inherited from java.lang.Throwable
 Throwable ()
 
 Throwable (String detailMessage)
 
String getMessage ()
 
String getLocalizedMessage ()
 
void printStackTrace ()
 
String toString ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ IllegalMonitorStateException() [1/2]

java.lang.IllegalMonitorStateException.IllegalMonitorStateException ( )
inline

Constructs a new

that includes the current stack trace.

◆ IllegalMonitorStateException() [2/2]

java.lang.IllegalMonitorStateException.IllegalMonitorStateException ( String  detailMessage)
inline

Constructs a new

IllegalArgumentException

with the current stack trace and the specified detail message.

Parameters
detailMessagethe detail message for this exception.

The documentation for this class was generated from the following file: