Build 1.1_r1 (from source)

java.lang
Class IllegalMonitorStateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalMonitorStateException
All Implemented Interfaces:
Serializable

public class IllegalMonitorStateException
extends RuntimeException

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.

Since:
Android 1.0
See Also:
Serialized Form

Constructor Summary
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.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalMonitorStateException

public IllegalMonitorStateException()
Constructs a new IllegalMonitorStateException that includes the current stack trace.

Since:
Android 1.0

IllegalMonitorStateException

public IllegalMonitorStateException(String detailMessage)
Constructs a new IllegalArgumentException with the current stack trace and the specified detail message.

Parameters:
detailMessage - the detail message for this exception.
Since:
Android 1.0

Build 1.1_r1 (from source)

Please submit a feedback, bug or feature