Tuesday 12 March 2013

java.lang IllegalMonitorStateException


java.lang
IllegalMonitorStateException

Declaration
public class IllegalMonitorStateException extends RuntimeException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--java.lang.IllegalMonitorStateException
Description
Thrown to indicate that a thread has attempted to wait on an object’s monitor or to notify other threads waiting
on an object’s monitor without owning the specified monitor.


Constructors
IllegalMonitorStateException()
IllegalMonitorStateException(String s)



Methods inherited from class Object
equals(Object), getClass(), hashCode(), notify(), notifyAll(), wait(), wait(), wait()
Methods inherited from class Throwable
getMessage(), printStackTrace(), toString()



Constructors
IllegalMonitorStateException()
Declaration:
public IllegalMonitorStateException()
Description:
Constructs an IllegalMonitorStateException with no detail message.
IllegalMonitorStateException(String)
Declaration:
public IllegalMonitorStateException(java.lang.String s)
Description:
Constructs an IllegalMonitorStateException with the specified detail message.
Parameters:
s - the detail message.



No comments:

Post a Comment