On 11/09/2010 00:45, Wesley Acheson wrote:
> I'm looking through the source now where I'm seeing a lot of
> Throwables caught. I was always told this was bad practice is there a
> reason for this? Some I could understand but there seems to be places
> where throwable is caught even though the javadocs say it throws an
> exception. And by your handling of the throwable it looks like you
> know what to expect the throwable to be.
> 
> Just getting my head arround it.

Usually as a short-cut. Sometimes it is reasonable, sometimes not. I
thought we had caught all the ones that mattered in a bug fix a few
months ago. There may be some left. ExceptionUtils is the way to handle
them.

Mark

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

Reply via email to