程序中打印异常栈信息

有多种方法。

第一:log.error(e,e.fillInStackTrace());

第二:e.printStackTrace();

 

posted @ 2013-01-10 23:14  beiyeren  阅读(138)  评论(0编辑  收藏  举报