standup.xml
Class XMLUtils.MyErrorHandler

java.lang.Object
  extended by standup.xml.XMLUtils.MyErrorHandler
All Implemented Interfaces:
ErrorHandler
Enclosing class:
XMLUtils

private static class XMLUtils.MyErrorHandler
extends Object
implements ErrorHandler


Field Summary
private  PrintWriter out
          Error handler output goes here
 
Constructor Summary
XMLUtils.MyErrorHandler(PrintWriter out)
           
 
Method Summary
 void error(SAXParseException spe)
           
 void fatalError(SAXParseException spe)
           
private  String getParseExceptionInfo(SAXParseException spe)
          Returns a string describing parse exception details
 void warning(SAXParseException spe)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

private PrintWriter out
Error handler output goes here

Constructor Detail

XMLUtils.MyErrorHandler

XMLUtils.MyErrorHandler(PrintWriter out)
Method Detail

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