Quoting Sonny Sukumar <[EMAIL PROTECTED]>:

> 
> Hi guys,
> 
> Is it possible to declare additional exception types to be thrown from the 
> generate() method generated from an XSP?  The generate code throws 
> SAXException, IOException, ProcessingException by default.  I thought that, 
> since Cocoon 2.1 has improved support for handling various exception types 
> (aside from ProcessingException) at the end of pipelines, that maybe one 
> could maybe get away without wrapping exceptions in ProcessingException 
> instances in XSPs.
> 
> If it is possible, how can one declare a specific exception type to be 
> thrown using XSP syntax?
> 

Yup.  http://cocoon.apache.org/2.1/userdocs/concepts/errorhandling.html

Geoff

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

Reply via email to