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); }
Object->Throwable(Serializable)->Exception->RuntimeException-> IllegalArgumentException->IllegalThreadStateException