文件名称:Java-AN-LI-XUE-XI
- 所属分类:
- JSP源码/Java
- 资源属性:
- [PPT]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1.07mb
- 下载次数:
- 0次
- 提 供 者:
- 蒋**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
异常指的是程序运行时出现的非正常情况,又称为差错、违例等。在上一节中介绍的运行错误就是异常的主要现象。当异常现象发生时,会造成程序运行中断、系统死机等问题。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
-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语言程序设计案例教程\第10章.ppt
........................\第11章.ppt
........................\第1章.ppt
........................\第2章.ppt
........................\第3章.ppt
........................\第4章.ppt
........................\第5章.ppt
........................\第6章.ppt
........................\第7章.ppt
........................\第8章.ppt
........................\第9章.ppt
........................\阅读器下载.htm
........................\E书说明.txt
Java语言程序设计案例教程
........................\第11章.ppt
........................\第1章.ppt
........................\第2章.ppt
........................\第3章.ppt
........................\第4章.ppt
........................\第5章.ppt
........................\第6章.ppt
........................\第7章.ppt
........................\第8章.ppt
........................\第9章.ppt
........................\阅读器下载.htm
........................\E书说明.txt
Java语言程序设计案例教程