Package java.lang

Class 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 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.