Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 223
نمايش فراداده

IllegalMonitorStateExceptionjava.lang

Java 1.0serializable unchecked

Signals an illegal monitor state. It is thrown by the Object notify( ) and wait( ) methods used for thread synchronization.

Figure 10-27. java.lang.IllegalMonitorStateException

public class

IllegalMonitorStateException extends RuntimeException { // Public Constructors public

IllegalMonitorStateException ( ); public

IllegalMonitorStateException (String

s ); }