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R/nd1EbsoEfeEvpt3Xl1H4nqH2Lxx4oA3s9A1A+41W7x1QldXs7ozixp3y4J4MZtX7vR4J+pYIdYYIE2HYlKIA3VYRIKCMPQ3k+GHzFFIQVuIKF0VTV9IR8F4XDh3oDSBu/l4JQiIL9B3Z6xXT9R4QRyH8U+INDSHcQ+IYSKHxKSHxUqCNnuIRmlX1T2IZmeIR0mHp6yIZdaId+yIVJGIj+YWiBQHKHf/iAWyiEHNFZrDeJrLdZWPh/coiIWUgokvgxjXiI7peIgYWHaiiFgggpaAiHDNGJimeId0WKEwiLiZKKced3eEKLgxeHjiWKfCiLhYKLd7eHkgKMm/eJr2iMqyN3KgWJoKOMn8KKlIhZoVWGvihmuxONRDeN1riN3NiN3viN4BiO4jiO5FiO5niO6JiO6riO7NiO7viO8BiP8jiP9FiP9niP+JiP+riP/NiP/siNd3EfdBF/+Pc3ojeHJOWJYChQAzk7Y7cilsEd1FdRJygyJhWI3aeJqCNW4veIpRh/AYmRvtE4vIeAFkVSb3d/sNMeRZUfV9WQb8j3M3WBNXRTVRsofroXgwq5U8JTVQ4Yiqa4N55IGRG5NBiYgTnZVVa4dzupOwIFhmkYihmZgDr1N/dnUxoYgOqnPCx5kvbHHHPBgiQ5Hi6pOLdHfwopkx0VkrQ3hoTTkbuHkEnoIKboURHSdK+3hnbhlGUZeKMXknupk2H5kzcYNwoomFTZG1CpOWIllZ+XkSrpgS8zlbR3MjIlHV8ZOA7Zl/7nez+VlxY5mZfJgHJJkKIZlWtDl7V3iJBpdVPZOPvBgdyXUy0omag5NWyZjJpIlE0Fl43JOE1phXXVlm75j8Z5nMiZnMq5nMzZnM75nNAZndI5neQTEAA7" alt="avatar">
可见Exception和Error都继承自Throwable类,所以二者既有相同也有不同之处。相同之处就是他们都是程序出错导致的,或说程序不正常运行才会实例化的类,不同之处就在于产生他们的的程序的出错原因不同,下面就来详细比较一下。
一,Exception&Error
从命名来看Error貌似比Exception要严重一点,事实确实如此。Error产生的情况一般是指不大可能出现且不可预料的情况,如JVM本身不正常,内存溢出,栈溢出等一些比较严重,会使程序终止的情况。而Exception通常是一些可以预料的不好的情况,如类型转换失败,多线程数据插入失败等,虽然程序出错,但可预料,一般也不会使程序终止。
二,未受检查异常和受检查异常
1,Error和Exception的子类RuntimeException都是未受检查的异常,也可以叫运行时异常,因为它们都是不可预料的,在程序运行时才会出现的异常。
2,Exception的其他子类是受检查的异常,是指程序员可以在代码中预料和捕捉到的程序异常,这也是程序员重点关注的地方。
三,异常处理
要搞清楚异常处理就得先知道try-catch-finally-return这几个关键字的语法和使用,它们在程序中的语法位置如下:
try{
//可能会产生异常的语句
}catch(Exception e){
//产生异常后才会执行的代码
}finally{
//不管有没有产生异常,在执行完上面两个代码块后,此处代码都会执行
}
画个流程图更容易理解,如下:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmkAAAEXCAYAAAD2sdP+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAADGUSURBVHhe7Z3vrxzVmef3v5o3mzeRRsqLnWhfDNFcWGVItAlSZjLaKCKGmxcgDYnYCAV8sWMTQZbE/JBhwbO2g0nCxAg7Jji2IYvHcRw7sWPMJRjbsbk2tq9xTT3VdarPOfWc+tFd1V1d9flIX2Gququrq7vrfO5zzqn6LxEAAAAAdA4kDQAAAKCDIGkAAAAAHQRJAwAAAOggSBoAAABAB0HSAAAAADoIkgYAAADQQZA0AAAAgA6CpAEAAAB0ECQNAAAAoIMgaQAAAAAdBEkDAAAA6CBIGgAAAEAHQdIAAAAAOgiSBgAAANBBkDQAAACADoKkAQAAAHQQJA0AAACggyBpAADQOGvXb0V7j16Knn79g+jBF09Hd3z/PwjpReT7LN9r+X5fWltPv/HtgKQBAECjHD27Fn3lid+rDRwhfcrdm48nstYWSBoAADTGjoPn1caMkD7nezv/nP4CmgVJAwCARpAKmtaAETKE/Py3F9NfQnMgaQAAMDUyBo0uTjLk3LlyLPrw8s30F9EMSBo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OgiSBgAAANBBkDQAAACADoKkAQAAAHQQJA0AAACggyBpAAAAAB0ESQMAAADoIEgaAAAAQAdB0gAAAAA6CJIGAAAA0EGQNAAAAIAOgqQBAAAAdBAkDQAAAKCDIGkAAAAAHQRJAwAAAOggSBoAAABA54ii/wTYY6l7FSXAnwAAAABJRU5ErkJggg==" alt="avatar">
注意:还有一个return的用法很多人会出错,当try-catch-finally中出现return语句时,要注意代码执行顺序,在代码中讲解,如下:
public int f1() {
int res=0;
try {
res=1;
}catch(Exception e){
}finally {
res=5;
}
return res;
}
/*上面这段代码的执行结果按照前面的流程图推一下很容易知道f1()方法的返回值是5
但如果是下面这种代码形式呢
*/
public int f2() {
int res=0;
try {
res=1;
return res;
}catch(Exception e){
}finally {
res=5;
}
return res;
}
/*f2()的返回值应该是1,因为在try中执行到return语句时程序会先将要return的值入临时栈,此时finally中执行的操作改变res的值,但却不会影响到存在临时栈中return的值。
再看下面这种情况
*/
public int f3() {
int res=0;
try {
res=1;
return res;
}catch(Exception e){
}finally {
res=5;
return res;
}
}
/*此时f3()返回值应该是5,因为程序会把finally中的return值替换掉try中的return值
*/
四,throw & throws
throw : 将产生的异常抛出(强调的是动作),抛出的既可以是异常的引用,也可以是异常对象。(位置: 方法体内)
throws : 如果一个方法可能会出现异常,但没有能力处理这种异常,可以在方法声明处用throws子句来声明抛出异常。用它修饰的方法向调用者表明该方法可能会抛出异常(可以是一种类型,也可以是多种类型,用逗号隔开)(位置: 写在方法名 或方法名列表之后 ,在方法体之前。)
五,自定义异常
可以继承Exception或Throwable类来定义自己的异常类型
public class MyException extends Exception{
public MyException() {
}
public MyException(String msg) {
super(msg);
}
}
异常抛出方法和自带异常一样,如下
public int exceptionTest(int a) throws MyException {
if(a<10) {
System.out.println("程序正常");
return a;
}
else {
throw new MyException("程序异常");
}
}
以及捕获异常如下
public static void main(String[] args) {
Main m=new Main();
try {
int res=m.exceptionTest(11);
} catch (MyException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
JAVA-Exception&Error的更多相关文章
- JAVA基础 Exception, Error
转载请附上本文地址: http://www.cnblogs.com/nextbin/p/6219677.html 本文参考: JAVA源码 http://swiftlet.net/archives/9 ...
- java 区分error和exception
1) java.lang.Error: Throwable的子类,用于标记严重错误.合理的应用程序不应该去try/catch这种错误.绝大多数的错误都是非正常的,就根本不该出现的.java.lang. ...
- java中Error与Exception有什么区别
Error类和Exception类都继承自Throwable类. Error的继承关系: java.lang.Object java.lang.Throwable java.lang.Er ...
- Java Exception 和Error
(事先声明:该文章并非完全是我自己的产出,更多的是我个人在看到资料后通过理解并记录下来,作为自己阅读后的一个笔记:我现在试图对自己多年工作中的知识点做一个回顾,希望能融会贯通) (此文参考<Ja ...
- Exception in thread "main" java.lang.Error: Unresolved compilation problem
初学java,使用eclipse编译时,可能会遇到如下图所示的编译错误(Exception in thread "main" java.lang.Error: Unresolved ...
- Atitit. Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Atitit. Exception in thread "main" java.lang.Error: Unresolved compilation problem: 1.1. ...
- java中error和exception的区别
转自:https://www.jianshu.com/p/e8bbee3c1c4a Error类和Exception类的父类都是throwable类,他们的区别是: Error类一般是指与虚拟机相关的 ...
- Java异常处理总结Exception\Error
Java异常处理总结Exception\Error 2012-12-28 08:17:17| 分类: JAVA | 标签:java |举报|字号 订阅 Java异常处理总结 ...
- OFBIZ bug_ControlServlet.java:233:ERROR
错误日志: [java] 2014-09-26 10:12:17,031 (http-bio-0.0.0.0-8443-exec-5) [ ControlServlet.java:233:ERROR] ...
- OFBIZ bug_ControlServlet.java:239:ERROR
错误日志: [java] 2014-09-23 00:11:34,877 (http-bio-0.0.0.0-8080-exec-4) [ ControlServlet.java:141:INFO ] ...
随机推荐
- M公司的回忆录——L公司
2013年3月笔者回国的第一站便是这人称有福之州的福州.受我兄弟之邀笔者来到了L公司.而这也是笔者与M公司相遇的前缘.此时的L公司只是一个刚起步的创业公司.与所有创业公司一样子——创业初期存在着很多问 ...
- python的WSGI接口
WSGI:Web Server Gateway Interface. WSGI是为python语言定义的web服务器和web应用程序或框架之间的一种简单而实用的接口.wsgi是一个web组件的接口规范 ...
- Nagios服务器端配置文件详解
Nagios服务器端安装部署详解见:http://www.cnblogs.com/ginvip/p/6505948.html Nagios 主要用于监控一台或者多台本地主机及远程的各种信息,包括本机资 ...
- 新.Net架构必备工具列表
N多年前微软官网曾发了.Net下必备的十种工具,N多年过去了,世异时移,很多东西都已经变化了,那个列表也似乎陈旧了.而且,该文也只是对十种工具独立的介绍,显得有些罗列的感觉,是不是每个工具都是同等重要 ...
- Flex 界面初始化 自定义 预加载 类!
说明: 自定义界面初始化过程提示:初始化...,初始化完毕,加载完毕! ZPreloader.as package com.command { import flash.display.Graphic ...
- 洛谷 P1525 【关押罪犯】种类并查集
题解 P1525 [关押罪犯]:种类并查集 前言: 在数据结构并查集中,种类并查集属于扩展域并查集一类. 比较典型的题目就是:食物链(比本题难一些,有三个种类存在) 首先讲一下本题的贪心,这个是必须要 ...
- bzoj 1432 数学(找规律)
我们可以发现所有的情况(除n=1时),都可以找到两个交叉的直线,就是第一层的那 两个线段所在的直线如图中左 那么我们以这个为准,两边对称着加直线,会得到右图,每一层是折线,且每 加一对儿就多两条线段, ...
- Route Between Two Nodes in Graph
Given a directed graph, design an algorithm to find out whether there is a route between two nodes. ...
- linux调试工具glibc的演示分析-core dump double free【转】
转自:http://www.cnblogs.com/jiayy/p/3475544.html 偶然中发现,下面的两端代码表现不一样 void main(){ void* p1 = malloc(32) ...
- grep和sed匹配多个字符关键字的用法
GNU sed和UNIX sed 写法不一样 匹配多个关键词,打印出匹配的行,效果类似于 grep grep hello\|world file > output 或者用扩展正则 grep -E ...