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
[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