SDARTS

edu.columbia.cs.sdarts.dbselection.util
Class MyErrorHandler

java.lang.Object
  |
  +--edu.columbia.cs.sdarts.dbselection.util.MyErrorHandler
All Implemented Interfaces:
org.xml.sax.ErrorHandler

public class MyErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler


Constructor Summary
MyErrorHandler()
          default constructor print error to System.err
MyErrorHandler(java.io.PrintWriter out)
           
 
Method Summary
 void error(org.xml.sax.SAXParseException spe)
           
 void fatalError(org.xml.sax.SAXParseException spe)
           
 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
 

Constructor Detail

MyErrorHandler

public MyErrorHandler()
default constructor print error to System.err

MyErrorHandler

public MyErrorHandler(java.io.PrintWriter out)
Method Detail

warning

public void warning(org.xml.sax.SAXParseException spe)
             throws org.xml.sax.SAXException
Specified by:
warning in interface org.xml.sax.ErrorHandler

error

public void error(org.xml.sax.SAXParseException spe)
           throws org.xml.sax.SAXException
Specified by:
error in interface org.xml.sax.ErrorHandler

fatalError

public void fatalError(org.xml.sax.SAXParseException spe)
                throws org.xml.sax.SAXException
Specified by:
fatalError in interface org.xml.sax.ErrorHandler

SDARTS

Sdarts Homepage