cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@informatik.tu-darmstadt.de>
Subject Re: Two ESQL Questions
Date Wed, 20 Nov 2002 16:34:07 GMT
Michael Edge wrote:
> I have a couple of ESQL questions:
> 
> 1) If an ESQL query throws a database exception, is there any way to log the stack trace
to a file?

Database exceptions are either rethrown as processing exceptions or 
handled by the code in esql:error-results

This applies only for those errors that stem from the execute() method 
call i.e. setup-errors are different.

> 2) If an ESQL query throws a database exception, is there any way to handle this using
the <map:handle-errors> section of the sitemap, so that all exceptions thrown, whether
during pipeline processing or application exceptions, are displayed in the same manner?

see above.

	Chris.

-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
     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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message