[1]陈红跃 张宏军 陈刚.Java异常处理策略研究[J].计算机技术与发展,2012,(07):9-12.
 CHEN Hong-yue,ZHANG Hong-jun,CHEN Gang.Study of Java Exception Handling Strategy[J].,2012,(07):9-12.
点击复制

Java异常处理策略研究()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
期数:
2012年07期
页码:
9-12
栏目:
智能、算法、系统工程
出版日期:
1900-01-01

文章信息/Info

Title:
Study of Java Exception Handling Strategy
文章编号:
1673-629X(2012)07-0009-04
作者:
陈红跃 张宏军 陈刚
解放军理工大学工程兵工程学院
Author(s):
CHEN Hong-yueZHANG Hong-junCHEN Gang
Engineering Institute of Engineering Corps, PLA University of Science & Technology
关键词:
Java语言异常处理机制异常类异常转译
Keywords:
Java language exception handling mechanism exception class exception translation
分类号:
TP312
文献标志码:
A
摘要:
异常处理机制是程序设计语言的重要标志之一,在程序设计过程中用来处理程序运行中的异常。传统的程序设计语言里异常处理较为繁杂。Java是一种面向对象的程序设计语言,且引入了异常处理机制。合理完备的异常处理可以增强程序运行的可靠性、提高软件的健壮性,可以较为快速地确定错误的位置。文章分析了Java异常处理的逻辑,阐述了异常类、异常处理机制以及异常处理方法,提出了异常处理的一些策略。综合运用这些策略可以使编程人员编写出更加简洁、高效的程序代码
Abstract:
Exception handling mechanism is an important indicator of programming languages, people use it in the program design process to deal with the exception. Exception handling in the traditional programming language is complex. Java is an object-oriented programming language,it introduces exception handling mechanism. A reasonable use of exception handling can enhance the reliability of the program and improve the software robustness and determine the location of the error more quickly. It describes the logic of Java ex- ception handling, elaborates exception class, exception handling mechanism and the method of exception handling, proposes several strat- egies for exception handling. Integrated use of these strategies can make programmers write more concise and efficient code

备注/Memo

备注/Memo:
国家自然科学基金资助项目(70971137)陈红跃(1986-),男,硕士研究生,CCF会员,研究方向为作战模拟、联合作战演练系统分析与集成;张宏军,教授,博士生导师,研究方向为军事运筹、系统分析
更新日期/Last Update: 1900-01-01