最新文章列表

Java异常的栈轨迹(Stack Trace)

    捕获到异常时,往往需要进行一些处理。比较简单直接的方式就是打印异常栈轨迹Stack Trace。说起栈轨迹,可能很多人和我一样,第一反应就是printStackTrace()方法。其实除了这个方法,还有一些别的内容也是和栈轨迹有关的。       1.printStackTrace()     首先需要明确,这个方法并不是来自于Exception类。Exception类本身除了定义了几 ...
wawlian 评论(0) 有2828人浏览 2012-06-06 10:47

Chapter 12. Error Handling with Exceptions -- Thinking in Java

1) An exceptional condition is a problem that prevents the continuation of the current method or scope. It’s important to distinguish an exceptional condition from a normal problem, in which you have ...
leonzhx 评论(0) 有1310人浏览 2010-10-01 17:46

最近博客热门TAG

Java(141744) C(73651) C++(68608) SQL(64571) C#(59609) XML(59133) HTML(59043) JavaScript(54919) .net(54785) Web(54514) 工作(54118) Linux(50905) Oracle(49875) 应用服务器(43289) Spring(40812) 编程(39454) Windows(39381) JSP(37542) MySQL(37267) 数据结构(36424)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics