cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernhard Huber <berni_hu...@a1.net>
Subject RuntimeExceptions that mask the original one to CascadingRuntimeException
Date Fri, 22 Nov 2002 23:55:07 GMT
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, 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