cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: [C2] Error Handling - bypass extra try/catch blocks?
Date Wed, 17 Oct 2001 11:58:40 GMT

Scott Jones a écrit :
> Hello,
> I am building a logicsheet where I have many method calls that can throw
> a variety of Exceptions.  Rather than place try/catch blocks all over
> the place, I'd like to have any and all exceptions that occur to be
> displayed using the <handle-errors> section of my sitemap.
> However, C2 keeps on demanding that I explicitly handle these
> exceptions, but really I'd like for the exceptions to halt the page
> execution and be displayed.  Is there a configuration variable that I'm
> missing that'll setup this kind of behavior?
> Thank you!
> Cheers,
> Scott
A solution can be for your logicsheet to insert a try/catch block when
matching xsp:page and throw exceptions embedded in a

Sylvain Wallez
Anyware Technologies -

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message