文件名称:Java-AN-LI-XUE-XI
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小: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
Java语言程序设计案例教程/第11章.ppt
Java语言程序设计案例教程/第1章.ppt
Java语言程序设计案例教程/第2章.ppt
Java语言程序设计案例教程/第3章.ppt
Java语言程序设计案例教程/第4章.ppt
Java语言程序设计案例教程/第5章.ppt
Java语言程序设计案例教程/第6章.ppt
Java语言程序设计案例教程/第7章.ppt
Java语言程序设计案例教程/第8章.ppt
Java语言程序设计案例教程/第9章.ppt
Java语言程序设计案例教程/阅读器下载.htm
Java语言程序设计案例教程/E书说明.txt
Java语言程序设计案例教程
Java语言程序设计案例教程/第11章.ppt
Java语言程序设计案例教程/第1章.ppt
Java语言程序设计案例教程/第2章.ppt
Java语言程序设计案例教程/第3章.ppt
Java语言程序设计案例教程/第4章.ppt
Java语言程序设计案例教程/第5章.ppt
Java语言程序设计案例教程/第6章.ppt
Java语言程序设计案例教程/第7章.ppt
Java语言程序设计案例教程/第8章.ppt
Java语言程序设计案例教程/第9章.ppt
Java语言程序设计案例教程/阅读器下载.htm
Java语言程序设计案例教程/E书说明.txt
Java语言程序设计案例教程
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.