Content Pipeline Guide > SAX2 Filter Interfaces > ErrorHandler Interface
  
ErrorHandler Interface
The ErrorHandler is a basic interface for SAX error handlers. If a pipeline needs to implement customized error handling, some filters must implement this interface. The Pipeline element’s errorhandler attribute must name the filter if it is to act as an ErrorHandler resource for the pipeline.
package org.xml.sax;
public interface ErrorHandler {
public abstract void warning
(SAXParseException exception)
throws SAXException;
public abstract void error
(SAXParseException exception)
throws SAXException;
public abstract void fatalError
(SAXParseException exception)
throws SAXException;
}