de.fesenmeyer.dbnormalizer.core.configuration.xml
Class SimpleErrorHandler

java.lang.Object
  extended by de.fesenmeyer.dbnormalizer.core.configuration.xml.SimpleErrorHandler
All Implemented Interfaces:
ErrorHandler

public class SimpleErrorHandler
extends Object
implements ErrorHandler

A Simple SAX-ErrorHandler implementation which just delegates each error, fatal error and warning to the calling code.

Author:
DF
See Also:
ErrorHandler

Constructor Summary
SimpleErrorHandler()
           
 
Method Summary
 void error(SAXParseException exception)
           
 void fatalError(SAXParseException exception)
           
 void warning(SAXParseException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleErrorHandler

public SimpleErrorHandler()
Method Detail

error

public void error(SAXParseException exception)
           throws SAXException
Specified by:
error in interface ErrorHandler
Throws:
SAXException

fatalError

public void fatalError(SAXParseException exception)
                throws SAXException
Specified by:
fatalError in interface ErrorHandler
Throws:
SAXException

warning

public void warning(SAXParseException exception)
             throws SAXException
Specified by:
warning in interface ErrorHandler
Throws:
SAXException