org.riotfamily.common.xml
Class RiotSaxErrorHandler

java.lang.Object
  extended by org.riotfamily.common.xml.RiotSaxErrorHandler
All Implemented Interfaces:
ErrorHandler

public class RiotSaxErrorHandler
extends Object
implements ErrorHandler


Constructor Summary
RiotSaxErrorHandler(RiotLog logger)
          Create a new RiotSaxErrorHandler for the given logger.
 
Method Summary
 void error(SAXParseException ex)
           
 void fatalError(SAXParseException ex)
           
 void warning(SAXParseException ex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RiotSaxErrorHandler

public RiotSaxErrorHandler(RiotLog logger)
Create a new RiotSaxErrorHandler for the given logger.

Method Detail

warning

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

error

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

fatalError

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