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