异常处理
cavvv
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
合理处理jdbc中的异常
对于jdbc代码段里出现的异常,可以处理则处理,无法处理则向上抛出 dao层代码public interface ClassDao { Integer addClass(ClassEntity classEntity); int[]addbatch(); }daoimple代码@Override public Integer addClass(ClassEntity cla原创 2015-07-25 17:27:11 · 2609 阅读 · 0 评论 -
为什么要在catch块里写状态终止代码
public class Test2 { public static String doit() { try { BufferedInputStream bufferedInputStream = new BufferedInputStream( new FileInputStream(new File("i9i原创 2015-07-31 22:15:25 · 2574 阅读 · 0 评论
分享