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 voiderror(org.xml.sax.SAXParseException exception)voidfatalError(org.xml.sax.SAXParseException exception)voidwarning(org.xml.sax.SAXParseException exception)
-
-
-
Method Detail
-
error
public void error(org.xml.sax.SAXParseException exception)
- Specified by:
errorin interfaceorg.xml.sax.ErrorHandler- Specified by:
errorin interfaceErrorListener
-
fatalError
public void fatalError(org.xml.sax.SAXParseException exception)
- Specified by:
fatalErrorin interfaceorg.xml.sax.ErrorHandler- Specified by:
fatalErrorin interfaceErrorListener
-
warning
public void warning(org.xml.sax.SAXParseException exception)
- Specified by:
warningin interfaceorg.xml.sax.ErrorHandler- Specified by:
warningin interfaceErrorListener
-
-