-
labsql其他几个模块 ,这样就全了,杨乐平所编著的书中的,附带光盘中的所有的程序,...
labsql其他几个模块 ,这样就全了,杨乐平所编著的书中的,附带光盘中的所有的程序,-labsql several other modules, so that the whole, Yang Gill has edited the book, CD-ROM with all the procedures,
- 2022-06-02 06:13:42下载
- 积分:1
-
循序渐进学习使用WINPCAP(二).
循序渐进学习使用WINPCAP(二).-gradual learning WINPCAP (2).
- 2023-04-15 08:25:03下载
- 积分:1
-
water voice signal deal with the robot locating the target and offering the feed...
水声信号的处理水下机器人对目标的定位并提供反馈信息-water voice signal deal with the robot locating the target and offering the feedback under the water
- 2022-07-15 10:13:06下载
- 积分:1
-
打印hello word,这个是一个很基础的程序,可以供初级学员注意失误。...
打印hello word,这个是一个很基础的程序,可以供初级学员注意失误。-Print hello word, this is a very basic program can be used for elementary students attention to mistakes.
- 2023-01-11 11:05:03下载
- 积分:1
-
This is the number of Chinese using the S3C2443 document, in the hope that we ha...
这是S3C2443的一些中文使用文档,希望对大家有一点点的帮助-This is the number of Chinese using the S3C2443 document, in the hope that we have a little bit of help
- 2022-01-25 17:09:55下载
- 积分:1
-
java异常处理
3.8 异常处理
什么是异常
知道Java异常分类
处理异常的两种方式
throw和throws区别
如何创建自定义异常
概念:
在程序中,可能产生程序员没有预料到的各种错误情况,比如打开一个不存在的文件等,在Java中,这种在程序运行时可能出现的错误称为异常。
异常可以把“描述在正常执行过程中做什么事”的代码和“出了问题怎么办”的代码相分离
例子:demo05.ExceptionDemo.java
Java异常分类A:
java.lang.Error,java.lang.Exception
Error(错误):jvm系统内部错误、资源耗尽等严重问题,发生Error时,编程人员无能 为力,只能终止程序,例如内存溢出等。
Exception(异常):因编程错误或偶然的外在因素导致的一般性问题,例如:对负数 开平方根、空指针访问等,当发生Exception 时,编程人员可以做出处理,并做出人性 化响应,比如弹出窗口,显示“请不要输入负数!”。
异常分类B:
检查性异常:编译器必须处理的异常,该类异常通常是Exception类型或其子类(RuntimeException类除外)//运行时异常
SQLException、IOException、ClassNotFoundException
例子:/DemoProject/src/com/hyg/demo08/FileInputStreamDemo.java
非检查性异常:编译器不要求强制处理的异常,RuntimeException类及其所有子类都是非检查性异常。
NullPointerException、ClassCastException
例子:equa
- 2022-02-14 14:02:16下载
- 积分:1
-
windows下的声卡控制及数据读写
windows下的声卡控制及数据读写-windows under the control and data card reader
- 2022-11-08 19:30:03下载
- 积分:1
-
standford database.sta ndford database
standford database.sta ndford database
- 2022-05-25 19:02:16下载
- 积分:1
-
为了提取条纹图案的相位,从条纹的强度数据…
To extract the phase of a fringe pattern, the intensity data from the fringe pattern is applied to the 1D-CWT algorithm on a row by row basis.
- 2023-05-20 18:40:03下载
- 积分:1
-
中国节日对照的源码,还有阴阳历转换,用于51单片机
中国节日对照的源码,还有阴阳历转换,用于51单片机-Chinese festival of the source control, as well as conversion阴阳历for 51 single-chip
- 2022-07-13 23:37:16下载
- 积分:1