Name

java.lang.IllegalThreadStateException

Synopsis

This exception is identical to its J2SE counterpart. It is thrown when illegal transitions are requested on a thread that is not in the appropriate state.

public classIllegalThreadStateException extends
   java.lang.IllegalArgumentException {
   // constructors
   public IllegalThreadStateException();
   public IllegalThreadStateException(String s);
}

Get Wireless Java 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.