axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: handling java.lang.Error
Date Thu, 27 Jun 2002 11:37:30 GMT
John,

If you are using latest nightly or cvs. Please ONE breakpoint in ClassUtils's loadClass method.

Thanks,
dims

--- John Gregg <john.gregg@techarch.com> wrote:
> 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
> 


=====
Davanum Srinivas - http://xml.apache.org/~dims/

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

Mime
View raw message