-
the basic avail themselves of the opportunity to beginners learning about a gram
分形的基本乘隙,对初学者克一学一下-the basic avail themselves of the opportunity to beginners learning about a gram
- 2023-09-01 00:10:03下载
- 积分:1
-
时间精确计算程序 时间精确计算程序
时间精确计算程序 时间精确计算程序-time to time accurate calculation procedures accurate calculation procedure time accurate calculation procedures
- 2022-11-17 14:50:03下载
- 积分:1
-
cypress的Cyusb.sys驱动接口的二次封装,以及其驱动接口资料和接口测试程序...
cypress的Cyusb.sys驱动接口的二次封装,以及其驱动接口资料和接口测试程序-cypress
- 2022-08-25 20:51:35下载
- 积分:1
-
net源码 摘自http://www.kyuanma.com/
net源码 摘自http://www.kyuanma.com/-net source extracted from http://www.kyuanma.com/
- 2022-07-14 11:45:59下载
- 积分:1
-
AutoCad regarding the use of vc programmed target groups examples of a type.
AutoCad中关于使用vc++编程操作组对象的一个类实例。-AutoCad regarding the use of vc programmed target groups examples of a type.
- 2022-08-18 19:25:49下载
- 积分: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
-
消隐 计算机 图形学 VC++实现的 图形的消隐
消隐 计算机 图形学 VC++实现的 图形的消隐-Blanking Computer Graphics VC++ implementation of the graphics blanking
- 2022-04-20 01:59:26下载
- 积分:1
-
这也是一个关于KML解析的程序。。只是这个思想跟sax解析的思想不同。。希望读者看了以后会有所收获...
这也是一个关于KML解析的程序。。只是这个思想跟sax解析的思想不同。。希望读者看了以后会有所收获-this is also a very good mathod to parse the kml。。。
- 2022-07-23 08:15:26下载
- 积分:1
-
explore目录文件浏览,选择及反选,以及整个目录的遍历
explore目录文件浏览,选择及反选,以及整个目录的遍历-explore directory file browser, and anti-choice election, as well as the entire directory traversal
- 2022-06-26 19:21:27下载
- 积分:1
-
一个阿拉伯数字与罗马数字互相转换并进行四则运算,通过这个小程序告诉大家如何实现VB与C++两种语言实现跨语言开发程序....
一个阿拉伯数字与罗马数字互相转换并进行四则运算,通过这个小程序告诉大家如何实现VB与C++两种语言实现跨语言开发程序.-an Arabic numerals and the Roman figures can change and four operations Through this small program that tells you how to achieve both VB and C language cross-language development process.
- 2023-07-08 23:15:04下载
- 积分:1