java.lang.IllegalThreadStateException (JDK 1.0)

Signals that a thread is not in the appropriate state for an attempted operation to succeed.

public class IllegalThreadStateException extends IllegalArgumentException {
 // Public Constructors public IllegalThreadStateException();
public IllegalThreadStateException(String s);
}

Hierarchy:

Object->Throwable(Serializable)->Exception->RuntimeException-> IllegalArgumentException->IllegalThreadStateException