cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
Subject Re: [C1] Get TomCat to handle Errors & Exceptions?
Date Tue, 27 Mar 2001 06:59:53 GMT


Robin Green a écrit :
> 
> Jeremy Quinn <jeremy@media.demon.co.uk> wrote:
> >Would it not be more useful to throw the original Exception type instead of
> >a ServletException?
> 
> Tell that to the Servlet API spec writers. :)
> 
> You can throw ServletExceptions, IOExceptions and unchecked exceptions, but
> nothing else. (Compiler stops you.)

You can also use the chaining constructor
ServletException(java.lang.Throwable rootCause)

-- 
Sylvain Wallez
Anyware Technologies - http://www.anyware-tech.com

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


Mime
View raw message