Java-AN-LI-XUE-XI

所属分类Java编程
开发工具:Java
文件大小:1091KB
下载次数:1
上传日期:2011-06-24 22:02:27
上 传 者蒋小明
说明:  异常指的是程序运行时出现的非正常情况,又称为差错、违例等。在上一节中介绍的运行错误就是异常的主要现象。当异常现象发生时,会造成程序运行中断、系统死机等问题。Java程序可以用特定语句来处理异常并继续程序执行,而不让程序中断。Java语言提供一个异常处理类Exception类,专门处理程序执行期间的错误。每当Java程序运行过程中发生一个可识别的运行错误时,即该错误有一个异常类与之相对应时,系统都会产生一个相应的该异常类的对象,即产生一个异常。Java语言异常处理机制有以下一些优点
(Abnormal refers to the program running when the abnormal situation of, also known as discrepancies, violations, etc. In the previous section of the mistake is abnormal operation introduced the main phenomenon. When abnormal phenomenon occurs, can cause to run the program interrupt, system crash. Java program can use specific statements to deal with problems and continue program execution, and don t let the interruption of the program. Java language provides a Exception handling class Exception classes, special processing program during the execution of mistakes. Whenever Java program running occurred in the process of identification of a runtime error, the wrong when there is an exception class and the relative, the system will generate a timely corresponding the abnormal objects of a class, which produce an exception. Java language exception handling mechanism has the following some advantages )

文件列表:[举报垃圾]
Java语言程序设计案例教程
........................\E书说明.txt,376,2010-05-15
........................\第10章.ppt,402432,2005-07-22
........................\第11章.ppt,377856,2005-07-23
........................\第1章.ppt,491520,2005-08-02
........................\第2章.ppt,576512,2005-07-20
........................\第3章.ppt,574976,2005-07-20
........................\第4章.ppt,414208,2005-07-20
........................\第5章.ppt,670720,2005-07-22
........................\第6章.ppt,339456,2005-07-22
........................\第7章.ppt,400896,2005-07-22
........................\第8章.ppt,799232,2005-07-22
........................\第9章.ppt,406016,2005-07-22
........................\阅读器下载.htm,3072,2009-12-09

近期下载者

相关文件

评论我要评论

收藏者