代码改变世界

[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在这里想说明的就是上面这个问题。