-
DES的算法实现,很有用的,大家来看看,互相学习,
DES的算法实现,很有用的,大家来看看,互相学习,-DES algorithm, very useful to look at everyone, learn from each other,
- 2022-03-20 12:41:29下载
- 积分:1
-
Restricts certain phone calls in calling a windows mobile phone
Restricts certain phone calls in calling a windows mobile phone
- 2022-08-12 13:58:46下载
- 积分:1
-
Gumstix system ce5.0 the bsp, the cpu is xcale
Gumstix系统的ce5.0的bsp,cpu是xcale的-Gumstix system ce5.0 the bsp, the cpu is xcale
- 2022-10-02 08:30:05下载
- 积分:1
-
嵌入式wince,使用evc编程,文件包含整个工程文件
嵌入式wince,使用evc编程,文件包含整个工程文件-Embedded wince, using evc programming, the whole project file contains a document
- 2022-02-28 19:39:54下载
- 积分:1
-
自己编写的Dtmf的matlab仿真的fig文件,在matlab6。0下编译通过
自己编写的Dtmf的matlab仿真的fig文件,在matlab6。0下编译通过-Fig file of Mathlab Dtmf Emulation. matlab6.0
- 2022-06-20 05:17:46下载
- 积分:1
-
a two documents can be established MFC procedures, a new document will automatic...
一个能建立两种文档的MFC程序,新建一个文档时会自动提示要新建哪种类型的文档,两种文档均有读取,保存功能-a two documents can be established MFC procedures, a new document will automatically suggest to the new type of document, the two documents are read, retention
- 2022-01-31 23:39:54下载
- 积分:1
-
(code) Algorithms in C++ Source Code信号处理中的线性代数,数学基础学科必备用书。...
(code) Algorithms in C++ Source Code信号处理中的线性代数,数学基础学科必备用书。-(code) Algorithms in C++ Source Code signal processing in linear algebra, mathematics required basic subjects books.
- 2022-05-22 09:45:45下载
- 积分:1
-
ThinkingC++ Chinese version, suitable for primary c++ Learners read the 01 part
ThinkingC++中文版,适合初级c++学习者阅读
01部分
-ThinkingC++ Chinese version, suitable for primary c++ Learners read the 01 part
- 2022-01-21 22:41:24下载
- 积分:1
-
E
一个邮件管理的程序有PowerBuilder编的
环境是PB9.0-An e-mail management process for the PowerBuilder environment PB9.0
- 2022-02-04 10:26:46下载
- 积分: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