cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: how to indicate fatal exception in a transformer?
Date Mon, 25 Jun 2001 20:30:06 GMT
On Mon, 25 Jun 2001, Donald Ball wrote:

> how do i indicate that a fatal exception has occured in a transformer,
> specifically, in one of the SAX event handler methods? i would think that
> i'd throw a ProcessingException, but that's not allowed per the method
> signature of XMLProducer interface. when i throw a SAXException, i don't
> end up with an internal server error being tossed to the client, the
> request just hangs. what's the best practice for this situation?

Yes, the Exception handling of C2 isn't complete. Have you tried the
Avalon CascadingRuntimeException?

Giacomo


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message