Save This Page
Home » Open-JDK-6.b17-src » java » lang » [javadoc | source]
java.lang
public class: IllegalThreadStateException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.lang.RuntimeException
            java.lang.IllegalArgumentException
               java.lang.IllegalThreadStateException

All Implemented Interfaces:
    Serializable

Thrown to indicate that a thread is not in an appropriate state for the requested operation. See, for example, the suspend and resume methods in class Thread.
Fields inherited from java.lang.RuntimeException:
serialVersionUID
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public IllegalThreadStateException() 
 public IllegalThreadStateException(String s) 
    Constructs an IllegalThreadStateException with the specified detail message.
    Parameters:
    s - the detail message.
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait