Package com.microstrategy.utils.xml
Class SimpleErrorHandler
- java.lang.Object
-
- com.microstrategy.utils.xml.SimpleErrorHandler
-
- All Implemented Interfaces:
org.xml.sax.ErrorHandler
public class SimpleErrorHandler extends java.lang.Object implements org.xml.sax.ErrorHandler
This is a very simple XML-ErrorHandler. It just logs all errors found.- Since:
- MicroStrategy Web 9.0.0
-
-
Constructor Summary
Constructors Constructor Description SimpleErrorHandler(java.lang.String fileName)
Default constructor, takes the name of the file being parsed to report it in the log.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(org.xml.sax.SAXParseException e)
void
fatalError(org.xml.sax.SAXParseException e)
void
warning(org.xml.sax.SAXParseException e)
-
-
-
Method Detail
-
error
public void error(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
- Specified by:
error
in interfaceorg.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXException
-
fatalError
public void fatalError(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
- Specified by:
fatalError
in interfaceorg.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXException
-
warning
public void warning(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
- Specified by:
warning
in interfaceorg.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXException
-
-