org.apache.lucene.gdata.utils
Class SimpleSaxErrorHandler

java.lang.Object
  extended by org.apache.lucene.gdata.utils.SimpleSaxErrorHandler
All Implemented Interfaces:
ErrorHandler

public final class SimpleSaxErrorHandler
extends Object
implements ErrorHandler

For use with Digester to throw exceptions on errors

Author:
Simon Willnauer

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

Constructor Detail

SimpleSaxErrorHandler

public SimpleSaxErrorHandler()
Method Detail

warning

public void warning(SAXParseException arg0)
             throws SAXException
Specified by:
warning in interface ErrorHandler
Throws:
SAXException
See Also:
ErrorHandler.warning(org.xml.sax.SAXParseException)

error

public void error(SAXParseException arg0)
           throws SAXException
Specified by:
error in interface ErrorHandler
Throws:
SAXException
See Also:
ErrorHandler.error(org.xml.sax.SAXParseException)

fatalError

public void fatalError(SAXParseException arg0)
                throws SAXException
Specified by:
fatalError in interface ErrorHandler
Throws:
SAXException
See Also:
ErrorHandler.fatalError(org.xml.sax.SAXParseException)


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.