Hi all.

I checked the developer's guide but didn't see an answer.

I tend to see a lot of catch clauses that specify either AxisFault or
Exception but not Throwable.  Is there a particular reason for this?  I tend
to put a catch (Throwable t) as my last line of defense before my app sends
a response.  I would add one to AxisServlet.doPost(), for example.  That way
Errors would get caught and logged as well as Exceptions.  I know the jdk
javadocs say Errors aren't intended to be caught, but I'm getting a
NoClassDefFoundError that doesn't seem to get recorded anywhere.  (I have an
odd application set-up that might contribute to the problem.) It's a lot
easier to deal with the problem if I can see a simple message on the console
or in a log vs. poking around with the debugger.

thanks

john

Reply via email to