Menu

#1 Add an exception to the ContentHandler method signatures

open
nobody
5
2005-03-24
2005-03-24
Anonymous
No

In SAX2, most of the ContentHandler methods can
throw a SAXException. If the developer who has written
the ContentHandler feels that he is unhappy with the
XML document and does not want the parse to
continue, he can throw a SAXException and the XML
parser will catch this and will normally discontinue
parsing.
Would it be possible to amend the Mime4J
ContentHandler to do something similar?

Discussion


Log in to post a comment.

MongoDB Logo MongoDB