com.sun.tools.txw2
Class ConsoleErrorReporter

java.lang.Object
  extended by 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
ConsoleErrorReporter(PrintStream out)
           
 
Method Summary
 void error(SAXParseException exception)
           
 void fatalError(SAXParseException exception)
           
 void warning(SAXParseException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleErrorReporter

public ConsoleErrorReporter(PrintStream out)
Method Detail

error

public void error(SAXParseException exception)
Specified by:
error in interface ErrorListener
Specified by:
error in interface ErrorHandler

fatalError

public void fatalError(SAXParseException exception)
Specified by:
fatalError in interface ErrorListener
Specified by:
fatalError in interface ErrorHandler

warning

public void warning(SAXParseException exception)
Specified by:
warning in interface ErrorListener
Specified by:
warning in interface ErrorHandler


Copyright © 2013 Oracle. All Rights Reserved.