com.ibatis.db.dao
Class XmlDaoManagerBuilder.SimpleErrorHandler
java.lang.Object
com.ibatis.db.dao.XmlDaoManagerBuilder.SimpleErrorHandler
- All Implemented Interfaces:
- org.xml.sax.ErrorHandler
- Enclosing class:
- XmlDaoManagerBuilder
- private static class XmlDaoManagerBuilder.SimpleErrorHandler
- extends java.lang.Object
- implements org.xml.sax.ErrorHandler
**********************************
******* SimpleErrorHandler *******
**********************************
Field Summary |
private java.io.PrintWriter |
out
Error handler output goes here |
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
- Error handler output goes here
XmlDaoManagerBuilder.SimpleErrorHandler
XmlDaoManagerBuilder.SimpleErrorHandler(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