You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Willy Reinhardt <wr...@ctp.com> on 2006/03/13 10:43:06 UTC

Rép. : XSP errors

Hi,

To log message you may use function getLogger(); 
For details see http://excalibur.apache.org/apidocs/org/apache/avalon/framework/logger/Logger.html
You can throw a ProcessingException and keep the standard exception handling of coccon or define you own exception
handling in the sitemap see http://cocoon.apache.org/2.1/userdocs/concepts/errorhandling.html

Hope this help

Regards

Willy

 

>>> Kamal Bhatt <kb...@tt.com.au>  >>>

Hi
What is the best practice for handling exceptions in an xsp? Is there a 
way of passing errors to the log?

Thanks.

-- 
Kamal Bhatt

Tourism Technology Pty Ltd


T:  +61 (02) 9956 7300
F:  +61 (02) 9956 7411


Level 10, 1 Pacific Highway, North Sydney, NSW 2060

 
http://www.tt.com.au


--
Disclaimer: This email is confidential and may contain privileged information for the sole use of the person or business
to which it is addressed. If you are not the intended recipient, please notify the sender by return e-mail or phone as
you must not view, disseminate, distribute or copy this email without our consent. We do not accept any liability in
connection with any computer virus, data corruption, incompleteness, or unauthorised amendment of this email. It is the
sole responsibility of the receiver to scan for viruses before opening.

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



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