- 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 voiderror(SAXParseException exception)voidfatalError(SAXParseException exception)voidwarning(SAXParseException exception)
-
-
-
Constructor Detail
-
ConsoleErrorReporter
public ConsoleErrorReporter(PrintStream out)
-
-
Method Detail
-
error
public void error(SAXParseException exception)
- Specified by:
errorin interfaceErrorHandler- Specified by:
errorin interfaceErrorListener
-
fatalError
public void fatalError(SAXParseException exception)
- Specified by:
fatalErrorin interfaceErrorHandler- Specified by:
fatalErrorin interfaceErrorListener
-
warning
public void warning(SAXParseException exception)
- Specified by:
warningin interfaceErrorHandler- Specified by:
warningin interfaceErrorListener
-
-