{$cfg_webname}
主页 > 外文翻译 > 计算机翻译 >

外文翻译--高效的JAVA异常处理

来源:wenku163.com  资料编号:WK1635549 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9AWK1635549
资料介绍

高效的JAVA异常处理
Java开发人员可以做出的最重要的架构性决策之一就是如何使用Java异常模型。Java异常一直以来就是社群中许多争议的靶子。有人争论到,在 Java语言中的异常检查已是一场失败的试验。本文将辨析,失败的原因不在于Java异常模型,而在于JAVA类库的设计者未能充分了解到方法失败的两个 基本原因。
本文倡导一种对异常条件本质的思考方式,并描述一些有助于设计的模式。最后,本文还将在AOP模型中,作为相互渗透的问题,来讨论异常的处理。当你能正确使用异常时,它们会有极大的好处。本文将帮助你做到这一点。(毕业设计)
为何异常是如此重要

外文原文(复印件)
Effective JAVA Exception
Abstract
One of the most important architectural decisions a Java developer can make is how to use the Java exception model. Java exceptions have been the subject of considerable debate in the community. Some have argued that checked exceptions in the Java language are an experiment that failed. This article argues that the fault does not lie with the Java model, but with JAVA library designers who failed to acknowledge the two basic causes of method failure. It advocates a way of thinking about the nature of exceptional conditions and describes design patterns that will help your design. Finally, it discusses exception handling as a crosscutting concern in the aspect Oriented Programming model. JAVA exceptions are a great benefit when they are used correctly. This article will help you do that.
Why Exceptions Matter

共12000字

推荐资料