public class IllegalThreadStateException extends IllegalArgumentException
suspend
and resume
methods in class
Thread
.Constructor and Description |
---|
IllegalThreadStateException()
Constructs an
IllegalThreadStateException with no detail message. |
IllegalThreadStateException(String s)
Constructs an
IllegalThreadStateException with the specified detail message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, toString
public IllegalThreadStateException()
IllegalThreadStateException
with no detail message.public IllegalThreadStateException(String s)
IllegalThreadStateException
with the specified detail message.s
- the detail message.