Added in API level 1
    IllegalThreadStateException
open class IllegalThreadStateException : IllegalArgumentException
| kotlin.Any | |||||
| ↳ | kotlin.Throwable | ||||
| ↳ | java.lang.Exception | ||||
| ↳ | java.lang.RuntimeException | ||||
| ↳ | java.lang.IllegalArgumentException | ||||
| ↳ | java.lang.IllegalThreadStateException | ||||
Thrown to indicate that a thread is not in an appropriate state for the requested operation. See, for example, the suspend and resume methods in class Thread.
Summary
| Public constructors | |
|---|---|
| 
            
             Constructs an   | 
        |
| 
            
             Constructs an   | 
        |
Public constructors
IllegalThreadStateException
Added in API level 1
      IllegalThreadStateException()
Constructs an IllegalThreadStateException with no detail message.
IllegalThreadStateException
Added in API level 1
      IllegalThreadStateException(s: String!)
Constructs an IllegalThreadStateException with the specified detail message.
| Parameters | |
|---|---|
s | 
            String!: the detail message. |