Package org.iso_relax.ant
Class ErrorHandlerImpl
- java.lang.Object
-
- org.iso_relax.ant.ErrorHandlerImpl
-
- All Implemented Interfaces:
org.xml.sax.ErrorHandler
public class ErrorHandlerImpl extends java.lang.Object implements org.xml.sax.ErrorHandler
Error handler implementation that reports errors through the logging mechanism of Ant task.- Author:
- Kohsuke Kawaguchi (kk@kohsuke.org)
-
-
Constructor Summary
Constructors Constructor Description ErrorHandlerImpl(org.apache.tools.ant.Task t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(org.xml.sax.SAXParseException e)
void
fatalError(org.xml.sax.SAXParseException e)
void
warning(org.xml.sax.SAXParseException e)
-
-
-
Method Detail
-
warning
public void warning(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
- Specified by:
warning
in interfaceorg.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXException
-
error
public void error(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
- Specified by:
error
in interfaceorg.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXException
-
fatalError
public void fatalError(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
- Specified by:
fatalError
in interfaceorg.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXException
-
-