stella
Class SystemErrListener
java.lang.Object
stella.SystemErrListener
- All Implemented Interfaces:
- EventListener, ErrorListener
public class SystemErrListener
- extends Object
- implements ErrorListener
A very easy implementation of an ErrorListener. Any error event this
listener receives is stripped from its machine sense and the remaining
human-readable part of the error event is piped to System.err.
- See Also:
ErrorEvent
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemErrListener
public SystemErrListener()
- Constructs a new System err listener. Because System.err is a static
stream, this method has to do nothing.
errorOccured
public void errorOccured(ErrorEvent ee)
- Processes the error event. Takes the human-readable part of the
ErrorEvent and outputs it through System.err.
- Specified by:
errorOccured in interface ErrorListener
- Parameters:
ee - The error event describing the error occured.