Package java.lang
Class ThreadDeath
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.ThreadDeath
- All Implemented Interfaces:
Serializable
public class ThreadDeath extends Error
ThreadDeath is thrown when a thread stops executing. It is used to aid in the
orderly unrolling of the thread's stack (eg. cleanup of monitors).
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ThreadDeath()Constructs a new instance of this class. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ThreadDeath
public ThreadDeath()Constructs a new instance of this class. Note that in the case of ThreadDeath, the stack trace may not be filled in a way which allows a stack trace to be printed.
-