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()
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