Name

IllegalThreadStateException

Synopsis

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

java.lang.IllegalThreadStateException

Figure 10-29. java.lang.IllegalThreadStateException

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

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.