public class XMLErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler
Modifier and Type | Field and Description |
---|---|
private LogManager |
mLogger
The handle to the logging object that is used to log the messages.
|
Constructor and Description |
---|
XMLErrorHandler()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
error(org.xml.sax.SAXParseException e)
Logs the error messages which SAX parser generates while
validating the XML file against an XML Schema
|
void |
fatalError(org.xml.sax.SAXParseException e)
Logs the the fatal messages which SAX parser generates while
validating the XML file against an XML Schema
|
void |
warning(org.xml.sax.SAXParseException e)
Logs the warning messages in the SAX parser generates while
validating the XML file against an XML Schema.
|
private LogManager mLogger
public XMLErrorHandler()
public void warning(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
warning
in interface org.xml.sax.ErrorHandler
e
- the execption that is being caught.org.xml.sax.SAXException
public void error(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
error
in interface org.xml.sax.ErrorHandler
e
- the exception that is being caught.org.xml.sax.SAXException
public void fatalError(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
fatalError
in interface org.xml.sax.ErrorHandler
e
- the exception that is being caughtorg.xml.sax.SAXException