异常转换的一种特殊形式是异常链(exception chain),低层异常可能引起高层异常,异常链有助于调试这种问题,低层异常(原因)传给高层异常,高层异常提供一个访问方法(Throwable....
基于10个网页-相关网页
Listing 6 shows an example of an implicit exception chain.
清单6给出了隐式异常链的一个示例。
To make things easier, Apache Derby always places the most important exception first in any exception chain.
为了简化,Apache Derby 总是将最重要的异常放在异常链的开头。
You usually call next SQLException to return the next exception in the chain.
通常可以通过调用next SQLException来返回链中的下一个异常。
应用推荐