[hyddd的FindBugs分析记录][M B DE] Method might ignore exception
2009-04-01 20:54 hyddd 阅读(1815) 评论(1) 编辑 收藏 举报[M B DE] Method might ignore exception [DE_MIGHT_IGNORE]
This method might ignore an exception. In general, exceptions should be handled or reported in some way, or they should be thrown out of the method.
try{
//
}
Catch(Execption ex){}
//
上面这段代码没有对ex进行任何处理。Findbugs在这里想说明的就是上面这个问题。
//
}
Catch(Execption ex){}
//
作者:hyddd
出处:http://www.cnblogs.com/hyddd/
本文版权归作者所有,欢迎转载,演绎或用于商业目的,但是必须说明本文出处(包含链接)。