org.teatrove.tea.util
Class ConsoleErrorReporter
java.lang.Object
org.teatrove.tea.util.ConsoleErrorReporter
- All Implemented Interfaces:
- EventListener, ErrorListener
public class ConsoleErrorReporter
- extends Object
- implements ErrorListener
ConsoleErrorReporter takes ErrorEvents and prints
detailed messages to a PrintStream. When no longer needed, close the
ConsoleErrorReporter to ensure all open resources (except the PrintStream)
are closed.
- Author:
- Brian S O'Neill
ConsoleErrorReporter
public ConsoleErrorReporter(PrintStream out)
close
public void close()
throws IOException
- Closes all open resources.
- Throws:
IOException
compileError
public void compileError(ErrorEvent e)
- Specified by:
compileError in interface ErrorListener
finalize
protected void finalize()
throws Throwable
- Overrides:
finalize in class Object
- Throws:
Throwable
Copyright © 1997-2012 TeaTrove.org. All Rights Reserved.