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