ThreadDeath
Class ThreadDeath
- java.lang.Object
-
- java.lang.Throwable
-
- java-lang-Error
-
- java.lang.ThreadDeath
- All Implemented Interfaces:
- Serializable
public class ThreadDeath extends Error
An instance of ThreadDeath
is thrown in the victim thread when the (deprecated) Thread.stop()
method is invoked.
An application should catch instances of this class only if it must clean up after being terminated asynchronously. If ThreadDeath
is caught by a method, it