Any idea on this one?

-----Original Message-----
From: Joerg Heinicke [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 30, 2004 3:01 PM
To: [EMAIL PROTECTED]
Subject: Re: ExceptionSelector: Exception Not Unrolling


On 30.11.2004 20:51, Kist, Paul wrote:

> Hello everyone,
> 
> I am using the ExceptionSelector to do some custom error handling based on
> the different Exceptions being thrown.  It looks like the only Exceptions
I
> am able to do anything with are the java.lang.RuntimeException and the
> org.apache.cocoon.ProcessingException.   I set up a situation where a
> SourceException is being thrown and here's the error message that gets
sent:
> 
> Internal Server Error
> Message: Failed to execute pipeline.
> 
> Description: org.apache.cocoon.ProcessingException: Failed to execute
> pipeline.: java.lang.RuntimeException:
> org.apache.cocoon.ProcessingException: Exception during source resolving.:
> org.apache.excalibur.source.SourceException: Resource not found. There is
no
> resource with the requested path:

...

> With this configuration, I get XML back from the NotifyGenerator, but it's
> for the ProcessingException.  For some reason it is not unrolling to
reveal
> the SourceException pipeline.
> 
> If I get rid of the test for run-time or internal-error, it goes right to
> the default error page, that shows the stack trace.
> 
> I haven't seen much on this on the web and newsgroups.  Am I missing
> something?

I fear there is something broken. Not that I had a deeper look into it, 
but I have the same problem. And same like you I had the feeling to have 
it configured correctly, but I always get the ProcessingException and 
not my own BusinessException as root, so that I can' i18n-ize my backend 
error messages.

Does anybody has it working?

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments, contains 
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New 
Jersey, USA 08889), and/or its affiliates (which may be known outside the 
United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as 
Banyu) that may be confidential, proprietary copyrighted and/or legally 
privileged. It is intended solely for the use of the individual or entity named 
on this message.  If you are not the intended recipient, and have received this 
message in error, please notify us immediately by reply e-mail and then delete 
it from your system.
------------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to