java.lang
Class IllegalThreadStateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.lang.IllegalThreadStateException
- All Implemented Interfaces:
- Serializable
public class IllegalThreadStateException
- extends IllegalArgumentException
Thrown When trying to manipulate a Thread which is in an inappropriate
state. Since the documentation suggests that this can happen with
Thread.suspend
or Thread.resume
, but these
two methods are deprecated, this exception is likely very rare.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
IllegalThreadStateException
public IllegalThreadStateException()
- Create an exception without a message.
IllegalThreadStateException
public IllegalThreadStateException(String s)
- Create an exception with a message.
- Parameters:
s
- the message