You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by Mark Struberg <st...@yahoo.de> on 2011/02/23 14:06:44 UTC

please don't use e.printStackTrace()

found this used heavily in our tomcat6 and tomcat7 plugins.

Guess it was a left-over from the initial testing phase.

I now just re-throwed a new RuntimeException(e) in all those cases.

So this might currently act a bit too sensible, but that's imo better than silently swallowing down Exceptions ... ;)

If there are any Exceptions rethrown which should not pop up to the user, then please point me to them.

LieGrue,
strub