java.lang
Class IllegalThreadStateException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--java.lang.IllegalArgumentException
                          |
                          +--java.lang.IllegalThreadStateException

public class IllegalThreadStateException
extends IllegalArgumentException

Exception indicating that a thread is not in the proper state for the requested operation.

See Also:
Thread.suspend(), Thread.resume()

Constructor Summary
IllegalThreadStateException()
          Constructs an IllegalThreadStateException with no detail message.
IllegalThreadStateException(String s)
          Constructs an IllegalThreadStateException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getMessage, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalThreadStateException

public IllegalThreadStateException()
Constructs an IllegalThreadStateException with no detail message. A detail message is a String that describes this particular exception.


IllegalThreadStateException

public IllegalThreadStateException(String s)
Constructs an IllegalThreadStateException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters:
s - the detail message