RE: Intercepting exceptions in cocoon?

2006-10-26 Thread Antony Grinyer
Thanks everyone - that's exactly what I need :) Ant -Original Message- From: Ralph Goers [mailto:[EMAIL PROTECTED] Sent: 26 October 2006 15:07 To: users@cocoon.apache.org Subject: Re: Intercepting exceptions in cocoon? Have you looked at http://cocoon.apache.org/2.1/userdocs/con

Re: Intercepting exceptions in cocoon?

2006-10-26 Thread Ralph Goers
Have you looked at http://cocoon.apache.org/2.1/userdocs/concepts/errorhandling.html? Antony Grinyer wrote: Hi all, In version 1 of our application we returned exceptions wrapped in XML so we could pass the XML down the pipeline and handle the messages gracefully using XSLT. In version 2

Re: Intercepting exceptions in cocoon?

2006-10-26 Thread Bertrand Delacretaz
On 10/26/06, Antony Grinyer <[EMAIL PROTECTED]> wrote: ...is there a way to intercept the exception before cocoon can report it? Yes, using , have a look at the error handling samples at http://cocoon.zones.apache.org/demos/release/samples/errorhandling/welcome -Bertrand

Intercepting exceptions in cocoon?

2006-10-26 Thread Antony Grinyer
Hi all,   In version 1 of our application we returned exceptions wrapped in XML so we could pass the XML down the pipeline and handle the messages gracefully using XSLT. In version 2 of our application we do not return our exceptions wrapped in XML (it is a requirement not to) therefore