Name

java.lang.IllegalMonitorStateException

Synopsis

This exception is identical to its J2SE counterpart. It indicates that an illegal monitor state has occurred in a thread that is itself either waiting or attempting to notify a waiting thread.

public classIllegalMonitorStateException extends java.lang.RuntimeException {
   // constructors
   public IllegalMonitorStateException();
   public IllegalMonitorStateException(String s);
}

Get Wireless Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.