cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernhard Huber <>
Subject RuntimeExceptions that mask the original one to CascadingRuntimeException
Date Fri, 22 Nov 2002 23:55:07 GMT
i noticed that XMLSerializer, and TextSerializer have a method
setOutputStream w/o throws IOException, but throwing 
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:
For additional commands, email:

View raw message