org.jconfig
Class ConfigurationManager.MyErrorHandler
java.lang.Object
org.jconfig.ConfigurationManager.MyErrorHandler
- All Implemented Interfaces:
- org.xml.sax.ErrorHandler
- Enclosing class:
- ConfigurationManager
- private static class ConfigurationManager.MyErrorHandler
- extends java.lang.Object
- implements org.xml.sax.ErrorHandler
Field Summary |
private java.io.PrintWriter |
out
|
Method Summary |
void |
error(org.xml.sax.SAXParseException spe)
|
void |
fatalError(org.xml.sax.SAXParseException spe)
|
private java.lang.String |
getParseExceptionInfo(org.xml.sax.SAXParseException spe)
Returns a string describing parse exception details |
void |
warning(org.xml.sax.SAXParseException spe)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
out
private java.io.PrintWriter out
ConfigurationManager.MyErrorHandler
ConfigurationManager.MyErrorHandler(java.io.PrintWriter out)
getParseExceptionInfo
private java.lang.String getParseExceptionInfo(org.xml.sax.SAXParseException spe)
- Returns a string describing parse exception details
warning
public void warning(org.xml.sax.SAXParseException spe)
throws org.xml.sax.SAXException
- Specified by:
warning
in interface org.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXException
error
public void error(org.xml.sax.SAXParseException spe)
throws org.xml.sax.SAXException
- Specified by:
error
in interface org.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXException
fatalError
public void fatalError(org.xml.sax.SAXParseException spe)
throws org.xml.sax.SAXException
- Specified by:
fatalError
in interface org.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXException