Most visited

Recently visited

Added in API level 1

IllegalMonitorStateException

public class IllegalMonitorStateException
extends RuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.IllegalMonitorStateException


抛出以指示线程试图等待对象的监视器或通知其他线程等待对象的监视器而不拥有指定的监视器。

也可以看看:

Summary

Public constructors

IllegalMonitorStateException()

构造一个没有详细信息的 IllegalMonitorStateException

IllegalMonitorStateException(String s)

用指定的详细信息构造一个 IllegalMonitorStateException

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

IllegalMonitorStateException

Added in API level 1
IllegalMonitorStateException ()

构造一个没有详细信息的 IllegalMonitorStateException

IllegalMonitorStateException

Added in API level 1
IllegalMonitorStateException (String s)

用指定的详细信息构造一个 IllegalMonitorStateException

Parameters
s String: the detail message.

Hooray!