[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{
//[hyddd的FindBugs分析记录][M B DE] Method might ignore exception
}
Catch(Execption ex){}
//[hyddd的FindBugs分析记录][M B DE] Method might ignore exception
上面这段代码没有对ex进行任何处理。Findbugs在这里想说明的就是上面这个问题。

相关文章: