The ErrorHandler interface receives notifications of errors. It defines three methods to match the three levels of errors in the XML recommendation:
void warning(SAXParseException exception) ”A warning
void error(SAXParseException exception) ”A recoverable error
void fatalError(SAXParseException exception) ”A non-recoverable error