首页 | 本学科首页   官方微博 | 高级检索  
     检索      

Java异常捕捉及实现的研究
引用本文:邓如涛.Java异常捕捉及实现的研究[J].湖南科技学院学报,2007,28(4):61-63.
作者姓名:邓如涛
作者单位:永州职业技术学院,湖南,永州,425100
摘    要:异常处理是应用程序非常重要的一个方面,程序在运行时发生错误或异常情况是不可避免的。Java语言采用面向对象的异常处理机制,提供了丰富的出错和异常情况的处理措施,减小了编程的工作量,增加了程序的灵活性,增强了程序的可读性和可靠性。本文从异常基本知识和异常处理机制出发,分析了异常的层次结构,对常见的异常类在Jbuilder9中实现捕捉。

关 键 词:异常  捕捉  Jbuilder9  try模块  catch模块
文章编号:1673-2219(2007)04-0061-03
收稿时间:2007-03-05
修稿时间:2007年3月5日

The Catching and Realization of Java Exception
DENG Ru-tao.The Catching and Realization of Java Exception[J].Journal of Hunan University of Science and Engineering,2007,28(4):61-63.
Authors:DENG Ru-tao
Abstract:The exception handling is an extremely important aspect on application procedure. The unusual situation in procedure is inevitable. Java uses the object-oriented exception handling mechanism, provides rich processing measure with the unusual situation. As a result the programming workload will be reduced, the flexibility of the procedure will be increased, and also the readability and reliability of the procedure will be strengthened. This article embarked from the elementary knowledge and the handling mechanism of exception, analyzed the Exception Hierarchy, and then realized the catching of the common exception in Jbuilder9.
Keywords:exception  catching  Jbuilder9  try module  catch module  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号