public class SaxParserError
extends java.lang.Object
implements org.xml.sax.ErrorHandler
SaxParserError
class logs errors while xml-processingConstructor and Description |
---|
SaxParserError()
The constructor
SaxParserError creates a new instance(object) of the class. |
Modifier and Type | Method and Description |
---|---|
void |
error(org.xml.sax.SAXParseException exception)
The method
error logs an error message. |
void |
fatalError(org.xml.sax.SAXParseException exception)
The method
fatalError logs a fatalError message. |
void |
warning(org.xml.sax.SAXParseException exception)
The method
warning logs a warning message. |
public SaxParserError()
SaxParserError
creates a new instance(object) of the class.public void warning(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
warning
logs a warning message.warning
in interface org.xml.sax.ErrorHandler
exception
- SAXParseException.org.xml.sax.SAXException
- if errorpublic void error(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
error
logs an error message.error
in interface org.xml.sax.ErrorHandler
exception
- SAXParseException.org.xml.sax.SAXException
- if errorpublic void fatalError(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
fatalError
logs a fatalError message.fatalError
in interface org.xml.sax.ErrorHandler
exception
- SAXParseException.org.xml.sax.SAXException
- if error