SAX2: Should SAXException extend IOException?

Hill, Les lhill at
Thu Dec 23 17:50:51 GMT 1999

David Megginson writes:
> In the end, though, this is a relatively minor point.  The important
> point, for me, is that SAXException extend IOException -- I 
> think that 
> it would be convenient to have the callbacks throw IOException rather
> than SAXException (otherwise, other IOExceptions will have to 
> tunnel), 
> but it's not a show-stopper if everyone else thinks it's a bad idea.

I'll agree it is a relatively minor point, but if the only reason is
"otherwise, other IOExceptions will have to tunnel" then it is a truly
horrible idea which at its extreme boils down to 'Lets just throw Exception
so that no exceptions are tunneled'.  Perhaps there is a more cogent
argument to made about it?


Les Hill
Senior Architect

Excelergy is hiring Java/C++ XML developers, all levels
   send resume (and mention me :) to jobs at

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list