Save This Page
Home » apache-harmony-6.0-src-r917296-snapshot » 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 when an operation is attempted which is not possible given the state that the executing thread is in.
Constructor:
 public IllegalThreadStateException() 
 public IllegalThreadStateException(String detailMessage) 
    Constructs a new {@code IllegalThreadStateException} with the current stack trace and the specified detail message.
    Parameters:
    detailMessage - the detail message for this exception.
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