FileDocCategorySizeDatePackage
SimpleSaxErrorHandler.javaAPI DocApache Lucene 2.1.01841Wed Feb 14 10:46:04 GMT 2007org.apache.lucene.gdata.utils

SimpleSaxErrorHandler

public final class SimpleSaxErrorHandler extends Object implements ErrorHandler
For use with Digester to throw exceptions on errors
author
Simon Willnauer

Fields Summary
Constructors Summary
Methods Summary
public voiderror(org.xml.sax.SAXParseException arg0)

see
org.xml.sax.ErrorHandler#error(org.xml.sax.SAXParseException)

        
        throw new SAXException("ERROR: Can not parse XML Document -- "+arg0.getMessage(),arg0);
    
public voidfatalError(org.xml.sax.SAXParseException arg0)

see
org.xml.sax.ErrorHandler#fatalError(org.xml.sax.SAXParseException)

        throw new SAXException("FATAL ERROR: Can not parse XML Document -- "+arg0.getMessage(),arg0);
    
public voidwarning(org.xml.sax.SAXParseException arg0)

see
org.xml.sax.ErrorHandler#warning(org.xml.sax.SAXParseException)

        //