Class java.lang.IllegalThreadStateException
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.lang.IllegalThreadStateException

Object
   |
   +----Throwable
           |
           +----Exception
                   |
                   +----RuntimeException
                           |
                           +----IllegalArgumentException
                                   |
                                   +----java.lang.IllegalThreadStateException

public class IllegalThreadStateException
extends IllegalArgumentException
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.

Version:
1.14, 07/01/98
Author:
unascribed
Since:
JDK1.0
See Also:
resume(), suspend()

Constructor Index

 o java.lang.IllegalThreadStateException()
Constructs an IllegalThreadStateException with no detail message.
 o java.lang.IllegalThreadStateException(String)
Constructs an IllegalThreadStateException with the specified detail message.

Constructors

 o IllegalThreadStateException
public IllegalThreadStateException()
Constructs an IllegalThreadStateException with no detail message.

Since:
JDK1.0
 o IllegalThreadStateException
public IllegalThreadStateException(String s)
Constructs an IllegalThreadStateException with the specified detail message.

Parameters:
s - the detail message.
Since:
JDK1.0

All Packages  Class Hierarchy  This Package  Previous  Next  Index