public class java.lang
IllegalThreadStateException


Show All Login
Java SE 6
  
Extends: Throwable > Exception > RuntimeException > IllegalArgumentException
Details
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.
version1.22, 11/17/05
sinceJDK1.0
See also resume(), suspend()

Constructors
public IllegalThreadStateException()
Constructs an IllegalThreadStateException with no detail message.
public IllegalThreadStateException(String s) Details
Constructs an IllegalThreadStateException with the specified detail message.
sthe detail message.