-
NET编写规范,一本非常好的电子书,值得推荐一看,
NET编写规范,一本非常好的电子书,值得推荐一看,-NET preparation of specifications, a very good book, it is worth to recommend a look
- 2022-03-22 19:19:59下载
- 积分: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
-
应用程序向导已为您创建了此 计算器 应用程序。此应用程序不仅介绍了使用 Microsoft 基础类的基本知识,而且是编写应用程序的起点。...
应用程序向导已为您创建了此 计算器 应用程序。此应用程序不仅介绍了使用 Microsoft 基础类的基本知识,而且是编写应用程序的起点。-Application Wizard you have to create this calculator applications. This application not only use Microsoft introduced the basic foundation of knowledge, but also to write applications starting point.
- 2022-01-27 10:57:00下载
- 积分:1
-
331 with a mirror toner cartridges Sadishike disciplinary deduction genoa Xhosa
五子棋带镜粉盒撒迪斯科风纪扣三角帆科萨机 桑卡达芬奇撒可富机萨迪克帆脚索开放剂可迪斯科帆脚索抗倒伏加速卡迪斯科帆脚索嵌金 萨迪克帆脚索开放剂科萨机 抗毒素风纪扣速度计发萨迪克第四纪发卡羧基端开放剂撒可计算达芬奇科萨戴假发卡羧基端发科萨达芬奇撒可富机 强的松开放剂科萨机发 -331 with a mirror toner cartridges Sadishike disciplinary deduction genoa Xhosa-cab can be rich green in Aisa-foot cable Sadiq sails open disco agent can sail foot cable Lodging Resistance Accelerator disco sails foot cable gold inlay Sadiq sails foot cable for open Xhosa anti-toxin disciplinary deduction speed made Sadiq Quaternary issuing agent open the carboxyl terminus of dollars may withdraw counting DUFFING Aikesa wearing wigs card carboxy-terminal can be made Cossa Fenaisa Fu-dose prednisone open Xhosa-fat
- 2022-04-02 01:13:59下载
- 积分:1
-
医院门诊信息系统 (PIS)
医院门诊信息系统是根据 SQL 服务器的基本临床患者信息数据 — — 数据基础是包括
它用来添加新的患者信息和搜索设施以获取文件快速......等
- 2022-03-21 18:37:00下载
- 积分:1
-
火车车厢重排问题:给定一个任意的车厢排列次序。重新排列车厢,使其按照从1到n的次序排列。规定重排时只能从入轨到缓冲铁轨,或者从缓冲铁轨到出轨。...
火车车厢重排问题:给定一个任意的车厢排列次序。重新排列车厢,使其按照从1到n的次序排列。规定重排时只能从入轨到缓冲铁轨,或者从缓冲铁轨到出轨。-Train cars rearrangement problem: given an arbitrary compartment order of merit. Rearrange the cars, so that from 1 to n according to the order. Rearrangement can only be provided to the buffer from the orbit track, or tracks from the buffer to the derailment.
- 2022-11-21 14:25:03下载
- 积分:1
-
various file import and export out at the SQL server
各种文件导入 和导出SQLserver时列-various file import and export out at the SQL server
- 2022-01-25 19:34:49下载
- 积分:1
-
袜子5 / 4客户端/服务器的例子。
socks 4/5 client/server example.
- 2022-03-14 02:32:06下载
- 积分:1
-
主要是这几次的作业,有模拟计算器,子集划分,停车场管理,学籍管理...
主要是这几次的作业,有模拟计算器,子集划分,停车场管理,学籍管理-Mainly these operations, there are computers, a subset of division, car park management, school management
- 2022-06-20 21:21:13下载
- 积分:1
-
通过注册表实现自启动的程序,随系统的运行而运行
通过注册表实现自启动的程序,随系统的运行而运行-The program implements start automatically by registration form, and run with the system s running.
- 2022-01-28 00:54:08下载
- 积分:1