Most visited

Recently visited

Added in API level 1

IllegalThreadStateException

public class IllegalThreadStateException
extends IllegalArgumentException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.IllegalArgumentException
           ↳ java.lang.IllegalThreadStateException


抛出以指示线程对于请求的操作未处于适当的状态。 见,例如, suspendresume类方法Thread

也可以看看:

Summary

Public constructors

IllegalThreadStateException()

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

IllegalThreadStateException(String s)

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

Inherited methods

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

Public constructors

IllegalThreadStateException

Added in API level 1
IllegalThreadStateException ()

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

IllegalThreadStateException

Added in API level 1
IllegalThreadStateException (String s)

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

Parameters
s String: the detail message.

Hooray!