++与Java异常处理机制的比较
comparison of exception system between C++ and Java
本文分别深入讨论了C++与Java的异常处理机制。比较了C++与Java的异常匹配处理,异常类继承体系与异常处理代码的区别,并且讨论了异常对象的生存周期与存储方式。最后,在其基础上构想了异常处理机制的发展方向。
his article investigates the exception system in C++ and Java separately. It compares the rules in both language for matching the exception, the hierarchy and pattern of exception code, and discusses the lifetime and storage of exception objects. Finally it conceives other exception systems that similar with exceptions in other language.
邱烨、鲍鹏、高珩
计算技术、计算机技术
异常处理机制++Java
Exception System++Java
邱烨,鲍鹏,高珩.++与Java异常处理机制的比较[EB/OL].(2009-07-01)[2025-08-02].http://www.paper.edu.cn/releasepaper/content/200907-33.点此复制
评论