SAX2: Should SAXException extend IOException?

David Megginson david at megginson.com
Wed Dec 22 21:31:23 GMT 1999


Rajiv Mordani <Rajiv.Mordani at eng.sun.com> writes:

> java.util.zip.ZipException deriving from IOException is
> appropriate. It is related to i/o so it makes sense to have that.

I'd be interested in a clear statement of the criteria for this
distinction -- you get a ZipException, presumably, because of an error
in the format of the zip file you're reading from; you get a
SAXException because of an error in the format of the XML file you're
reading from.


All the best,


David

-- 
David Megginson                 david at megginson.com
           http://www.megginson.com/

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





More information about the Xml-dev mailing list