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

Java异常处理
引用本文:任晓莉,杨建卫.Java异常处理[J].宝鸡文理学院学报(自然科学版),2007,27(2):156-158.
作者姓名:任晓莉  杨建卫
作者单位:宝鸡文理学院,计算机科学系,陕西,宝鸡,721007
摘    要:目的通过Java异常处理的特点和机制,处理程序中出现的错误。方法根据Java异常捕获、异常抛出的要求,分析异常处理的方法。结果结合实际,提出了如何有效地抛出异常和捕获异常的实用策略。结论异常处理提高了程序的安全性和健壮性。

关 键 词:异常类  抛出异常  捕获异常  Java语言
文章编号:1007-1261(2007)02-0156-03
收稿时间:2006-09-04
修稿时间:2006-09-042007-03-02

Exceptional disposals in Java
REN Xiao-li,YANG Jian-wei.Exceptional disposals in Java[J].Journal of Baoji College of Arts and Science(Natural Science Edition),2007,27(2):156-158.
Authors:REN Xiao-li  YANG Jian-wei
Abstract:Aim Through the characteristics and mechanism of exception disposal in Java, to dispose the errors in program.Methods The methods of exception disposal were analyzed by basing on the requirement of exception catch and exception throw.Results According to the practice, the strategies how to throw and catch exception effectively were proposed.Conclusion The safety and robustness of program were improved by the exceptional disposals.
Keywords:exception class  throw exception  catch exception  Java language
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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