source: trunk/JavaHelperLib/src/de/ugoe/cs/util/console/listener/IErrorListener.java @ 199

Last change on this file since 199 was 199, checked in by sherbold, 13 years ago

Major change to the Console provided by this library. The interface de.ugoe.cs.console.ConsoleObserver? is deprecated and split into the five interface IOutputListener, IErrorListener, ITraceListener, IExceptionListener, and ICommandListener.

The rational for this change is to provide the possibility to listen to only parts of what is send to the console to provide better capabilities for target-oriented handling of the different streams, e.g., for exception logging.

  • Property svn:mime-type set to text/plain
File size: 535 bytes
Line 
1package de.ugoe.cs.util.console.listener;
2
3import de.ugoe.cs.util.console.Console;
4
5/**
6 * <p>
7 * Interface for listeners observing the error stream of the {@link Console}.
8 * </p>
9 *
10 * @author Steffen Herbold
11 * @version 1.0
12 */
13public interface IErrorListener {
14
15        /**
16         * <p>
17         * Receives messages send to the error stream of the {@link Console}.
18         * </p>
19         *
20         * TODO: rename method to errorMsg()
21         *
22         * @param errMessage
23         *            error message
24         */
25        public void errStream(String errMessage);
26}
Note: See TracBrowser for help on using the repository browser.