java.lang
Class ThreadDeath

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Error
          extended byjava.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
ThreadDeath()
          Constructs a new instance of this class.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThreadDeath

public ThreadDeath()
Constructs a new instance of this class. Note that in the case of ThreadDeath, the walkback may not be filled in a way which allows a stack trace to be printed.