java.lang
Class IllegalThreadStateException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.lang.IllegalArgumentException
                  extended byjava.lang.IllegalThreadStateException
All Implemented Interfaces:
Serializable

public class IllegalThreadStateException
extends IllegalArgumentException

This runtime exception is thrown when an operation is attempted which is not possible given the state that the executing thread is in.

See Also:
Serialized Form

Constructor Summary
IllegalThreadStateException()
          Constructs a new instance of this class with its walkback filled in.
IllegalThreadStateException(java.lang.String detailMessage)
          Constructs a new instance of this class with its walkback and message filled in.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalThreadStateException

public IllegalThreadStateException()
Constructs a new instance of this class with its walkback filled in.


IllegalThreadStateException

public IllegalThreadStateException(java.lang.String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.

Parameters:
detailMessage - String The detail message for the exception.