cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <>
Subject Re: Should we catch java.lang.Error? (was RE: XMLForm and sitemap problem (fwd))
Date Thu, 08 May 2003 21:09:57 GMT
Sylvain Wallez wrote:
> The JDK provides java.lang.LinkageError just for this : "Subclasses of 
> |LinkageError| indicate that a class has some dependency on another 
> class; however, the latter class has incompatibly changed after the 
> compilation of the former class". And it subclasses include 
> NoClassDefFoundError, ExceptionInInitializerError, etc.
> Furthermore, such LinkageErrors occuring when an Avalon container loads 
> a component class should be IMHO handled by the container (and rethrown 
> as a ComponentException) rather than being propagated as is the case today.
> Thoughts ?

That's a very good point.  I forwarded your message to the Avalon Dev
list so that we can take action on it.  I would expect Fortress, Merlin,
and Phoenix to adopt that practice.

"You know the world is going crazy when the best
rapper is a white guy, the best golfer is a black guy,
The Swiss hold the America's Cup, France is
accusing the US of arrogance, and Germany doesn't want
to go to war. And the 3 most powerful men in America
are named 'Bush', 'Dick', and 'Colon' (sic)".

-----Chris Rock

View raw message