cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
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
ProcessingException.

-- 
Sylvain Wallez
Anyware Technologies - http://www.anyware-tech.com

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message