tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48644] Code should never ignore throwable
Date Mon, 13 Sep 2010 18:28:09 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48644

Sebb <sebb@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #3 from Sebb <sebb@apache.org> 2010-09-13 14:28:03 EDT ---
There are still lots of places where Throwable is caught.

In most (all?) cases, catching Throwable is unnecessary - Exception would do
just as well. Or indeed a more specific one such as IOException.

Where the code really does need to catch Throwable, then the ExceptionUtils
method must be used. There are also many cases where this has not been done.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message