/** Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved.* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.*********************/package java.lang;/*** An instance of {@code ThreadDeath} is thrown in the victim thread* when the (deprecated) {@link Thread#stop()} method is invoked.** <p>An application should catch instances of this class only if it* must clean up after being terminated asynchronously. If* {@code ThreadDeath} is caught by a method, it is important that it* be rethrown so that the thread actually dies.** <p>The {@linkplain ThreadGroup#uncaughtException top-level error* handler} does not print out a message if {@code ThreadDeath} is* never caught.** <p>The class {@code ThreadDeath} is specifically a subclass of* {@code Error} rather than {@code Exception}, even though it is a* "normal occurrence", because many applications catch all* occurrences of {@code Exception} and then discard the exception.** @since 1.0*/public class ThreadDeath extends Error {private static final long serialVersionUID = -4417128565033088268L;}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。