Interface XmlGathererErrorHandler

All Superinterfaces:
ErrorHandler
All Known Implementing Classes:
DefaultXmlLoggerErrorHandler

@NoImplement public interface XmlGathererErrorHandler extends ErrorHandler
Represents a specific type of ErrorHandler which gathers as many errors as possible to be displayed later for either logging purposes or to propagate an exception with the full list of errors.

Any implementation must be careful on how to treat the ErrorHandler.fatalError(SAXParseException) method, as if the exception is not propagated immediately, breaking the current file parsing, the state of the DOM is in most of the cases unusable.

Since:
4.0