java.lang.ThreadDeath
java.lang.Error
None
None
JDK 1.0 or later
A ThreadDeath object is thown by the stop() method of a Thread object to kill the thread. Catching ThreadDeath objects is not recommended. If it is necessary to catch a ThreadDeath object, it is important to rethrow the object so that it is possible to cleanly stop the catching thread.
public class java.lang.ThreadDeath extends java.lang.Error { // Constructors public ThreadDeath(); }
This constructor creates a ThreadDeath object with no associated detail message.
Method |
Inherited From |
Method |
Inherited From |
---|---|---|---|
clone() |
Object |
equals(Object) |
Object |
fillInStackTrace() |
Throwable |
finalize() |
Object |
getClass() |
Object |
getLocalizedMessage() |
Throwable |
getMessage() |
Throwable |
hashCode() |
Object |
notify() |
Object |
notifyAll() |
Object |
printStackTrace() |
Throwable |
printStackTrace(PrintStream) |
Throwable |
printStackTrace(PrintWriter) |
Throwable |
toString() |
Object |
wait() |
Object |
wait(long) |
Object |
wait(long, int) |
Object |
Error, Thread, Throwable
This HTML Help has been published using the chm2web software. |