cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: RuntimeExceptions that mask the original one to CascadingRuntimeException
Date Sat, 23 Nov 2002 23:30:00 GMT
Bernhard Huber wrote:

> hi,
> i noticed that XMLSerializer, and TextSerializer have a method
> setOutputStream w/o throws IOException, but throwing 
> CascadingRuntimeException
> HTMLSerializer has a method setOutputStream declaring
> throwing IOException, and using a throw CascadingIOException.
>
> Wouldn't it be more correct to declare XMLSerializer, and TextSerializer
> setOutputStream(...) throws IOException, and
> throwing CascadingIOException, instead of throwing 
> CascadingRuntimeException, analog to HTMLSerializer, 


Yes, please, go ahead.

Vadim



> or is there
> a good reasong for XMLSerializer, and TextSerializer to differ from 
> HTMLSerializer to this respect?
>
> bye bernhard




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


Mime
View raw message