2018年8月18日

摘要: 一、Exception和RuntimeException的区别 Exception是RuntimeException的父类,使用了 Exception 的类都必须对异常进行处理(try / throw / throws) RuntimeException 可以由选择性的对异常进行处理(可以不处理) 阅读全文

posted @ 2018-08-18 23:17 lhj1006400320 阅读(578) 评论(0) 推荐(0) 编辑

摘要: 一、try、catch、finally常用组合 try{ xxx }catch(xxxException e){ e.printStackTrace(); } try{ xxx }catch(xxxException e){ e.printStackTrace(); }finally{ System 阅读全文

posted @ 2018-08-18 15:42 lhj1006400320 阅读(478) 评论(0) 推荐(0) 编辑


Copyright © 2024 lhj1006400320
Powered by .NET 8.0 on Kubernetes