1-1-4-36 Error与Exception有什么区别/
发信人: AAF (Adv Air Force), 信区: Java标题: Re: Error与Exception有什么区别/
发信站: BBS 水木清华站 (Wed Jan1 22:33:08 2003), 转信
An Error is a subclass of Throwable that indicates serious problems that a
reasonable application should not try to catch. Most such errors are abnorma
l conditions. The ThreadDeath error, though a "normal" condition, is also a
subclass of Error because most applications should not try to catch it.
The class Exception and its subclasses are a form of Throwable that indicat
es conditions that a reasonable application might want to catch.
【 在 nitmithv (木^O^木) 的大作中提到: 】
: 3x
页:
[1]