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

Java语言异常处理的探讨
引用本文:姜国权,李亚敏,曾立华,宋志国.Java语言异常处理的探讨[J].信息技术,2005,29(10):109-111.
作者姓名:姜国权  李亚敏  曾立华  宋志国
作者单位:1. 河北农业大学人工智能研究中心,保定,071001
2. 唐山广播电视大学,唐山,063000
摘    要:随着系统规模的不断扩大,传统的异常处理技术已经成为创建大型可维护程序的障碍了。Java是一种面向对象的程序设计语言,Java的异常处理非常出色。Java把异常封装到类里。运用“try/catch/finally”异常处理机制,最终得到的是更为“健壮”的异常处理代码。结合开发实践,用实例说明了Java异常处理如何具体应用。

关 键 词:Java  异常  异常处理
文章编号:1009-2552(2005)10-0109-03
修稿时间:2005年4月28日

Discussion on exception handling of Java
JIANG Guo-quan,LI Ya-min,ZENG Li-hua,SONG Zhi-guo.Discussion on exception handling of Java[J].Information Technology,2005,29(10):109-111.
Authors:JIANG Guo-quan  LI Ya-min  ZENG Li-hua  SONG Zhi-guo
Affiliation:JIANG Guo-quan~1,LI Ya-min~1,ZENG Li-hua~1,SONG Zhi-guo~2
Abstract:With the constant enlargement of the systematic scale,traditional exception handling technology has already become the obstacle of creating large maintainable program.Java is a kind of object-oriented programming language,the exception handling of Java is very outstanding.Java packs exception in class,uses the exception handling mechanism of "try/catch/finally"and gets more "robust"exception handling code finally.Combining practice of developing,this paper demonstrate how to use them by examples.
Keywords:Java  exception  exception handling  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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