Package com.sun.tools.txw2
Class ConsoleErrorReporter
- java.lang.Object
-
- com.sun.tools.txw2.ConsoleErrorReporter
-
- All Implemented Interfaces:
ErrorListener
,org.xml.sax.ErrorHandler
public class ConsoleErrorReporter extends java.lang.Object implements ErrorListener
Prints the error to a stream.- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
-
-
Constructor Summary
Constructors Constructor Description ConsoleErrorReporter(java.io.PrintStream out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(org.xml.sax.SAXParseException exception)
void
fatalError(org.xml.sax.SAXParseException exception)
void
warning(org.xml.sax.SAXParseException exception)
-
-
-
Method Detail
-
error
public void error(org.xml.sax.SAXParseException exception)
- Specified by:
error
in interfaceorg.xml.sax.ErrorHandler
- Specified by:
error
in interfaceErrorListener
-
fatalError
public void fatalError(org.xml.sax.SAXParseException exception)
- Specified by:
fatalError
in interfaceorg.xml.sax.ErrorHandler
- Specified by:
fatalError
in interfaceErrorListener
-
warning
public void warning(org.xml.sax.SAXParseException exception)
- Specified by:
warning
in interfaceorg.xml.sax.ErrorHandler
- Specified by:
warning
in interfaceErrorListener
-
-