You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Kamal Bhatt <kb...@tt.com.au> on 2006/03/07 01:02:38 UTC
XSP errors
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
Re: XSP errors
Posted by Antonio Gallardo <ag...@agssa.net>.
Kamal Bhatt wrote:
>
> Hi
> What is the best practice for handling exceptions in an xsp? Is there
> a way of passing errors to the log?
For exception handling you can use the tipical try {} catch (...) {}
blocks. If you need a logger access inside the XSP see [1].
Best Regards,
Antonio Gallardo.
[1] http://wiki.apache.org/cocoon/XSPLog
>
> Thanks.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org