uk.org.ogsadai.common.xml
Class SimpleErrorHandler

java.lang.Object
  |
  +--uk.org.ogsadai.common.xml.SimpleErrorHandler
All Implemented Interfaces:
org.xml.sax.ErrorHandler

final class SimpleErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler

A simple SAX ErrorHandler that re-throws SAXExceptions.

Author:
The OGSA-DAI Team

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement
 
Constructor Summary
(package private) SimpleErrorHandler()
           
 
Method Summary
 void error(org.xml.sax.SAXParseException e)
           
 void fatalError(org.xml.sax.SAXParseException e)
           
 void warning(org.xml.sax.SAXParseException e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright statement

See Also:
Constant Field Values
Constructor Detail

SimpleErrorHandler

SimpleErrorHandler()
Method Detail

warning

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

error

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

fatalError

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