[Fb-contrib-commit] SF.net SVN: fb-contrib:[1137] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib/
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2009-03-04 04:05:27
|
Revision: 1137
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1137&view=rev
Author: dbrosius
Date: 2009-03-04 04:05:25 +0000 (Wed, 04 Mar 2009)
Log Message:
-----------
don't report throws from finally
Modified Paths:
--------------
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/LostExceptionStackTrace.java
Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/LostExceptionStackTrace.java
===================================================================
--- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/LostExceptionStackTrace.java 2009-03-02 02:44:48 UTC (rev 1136)
+++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/LostExceptionStackTrace.java 2009-03-04 04:05:25 UTC (rev 1137)
@@ -143,7 +143,7 @@
public CodeException[] collectExceptions(CodeException[] exceptions) {
List<CodeException> filteredEx = new ArrayList<CodeException>();
for (CodeException ce : exceptions) {
- if ((ce.getStartPC() < ce.getEndPC()) && (ce.getEndPC() <= ce.getHandlerPC())) {
+ if ((ce.getCatchType() != 0) && (ce.getStartPC() < ce.getEndPC()) && (ce.getEndPC() <= ce.getHandlerPC())) {
filteredEx.add(ce);
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|