最新文章列表

Java异常的栈轨迹(Stack Trace)

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

最近博客热门TAG

Java(141741) C(73643) C++(68602) SQL(64557) C#(59604) XML(59131) HTML(59042) JavaScript(54916) .net(54782) Web(54511) 工作(54116) Linux(50906) Oracle(49861) 应用服务器(43285) Spring(40811) 编程(39452) Windows(39380) JSP(37540) MySQL(37266) 数据结构(36420)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics