On 25.Oct.2002 -- 10:42 AM, Michael Edge wrote:
> 
> Hi
> 
> In the XSP snippet below I'd like to throw an exception from within 
><esql:no-results>. My questions are: how do I do this and will the exception be 
>caught by the <map:handle-errors> section of the sitemap?

If you really want, you could throw an exception as you like. I think
it should be a processing exception.

However, you should really consider to do the select in an action, for
example the existing database or modular database actions.

I would cosider your request as extremely bad design.

        Chris.
-- 
C h r i s t i a n       H a u l
[EMAIL PROTECTED]
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

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

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

Reply via email to