org.iso_relax.ant
Class ErrorHandlerImpl

java.lang.Object
  |
  +--org.iso_relax.ant.ErrorHandlerImpl
All Implemented Interfaces:
ErrorHandler

public class ErrorHandlerImpl
extends java.lang.Object
implements ErrorHandler

Error handler implementation that reports errors through the logging mechanism of Ant task.

Author:
Kohsuke Kawaguchi (kk@kohsuke.org)

Constructor Summary
ErrorHandlerImpl(org.apache.tools.ant.Task t)
           
 
Method Summary
 void error(SAXParseException e)
           
 void fatalError(SAXParseException e)
           
 void warning(SAXParseException e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorHandlerImpl

public ErrorHandlerImpl(org.apache.tools.ant.Task t)
Method Detail

warning

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

error

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

fatalError

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