You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Raghu Nandan <rn...@us.ibm.com> on 2003/04/16 22:47:53 UTC

Error Handler




Folks:

Consider the case when an error handler is registered with
the parser. According to the documentation, all errors
and warnings during parsing will then be handled using the
error handler registered instead of throwing the exception.

Question:
Given that the parser throws XMLException, DOMException or
SAXParseException, will all these types of exceptions be
blocked from being thrown?; and will the error handler contain
information from the exceptions irrespective of the type of
exception?

My interpretation of the documentation is that only SAXParseException
will be blocked and the other two ie., XMLException and DOMException will
still need to be caught and handled. Is this correct?

Any information is most appreciated.

TIA.

raghu


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org