| |
|
| org.millstone.base.terminal.ErrorMessage
All known Subclasses: org.millstone.base.terminal.UserError, org.millstone.base.terminal.CompositeErrorMessage, org.millstone.base.terminal.SystemError,
ErrorMessage | public interface ErrorMessage extends Paintable(Code) | | Interface for rendering error messages to terminal. All the visible errors
shown to user must implement this interface.
author: IT Mill Ltd. version: 3.1.1 since: 3.0 |
Field Summary | |
final public static int | CRITICAL Error code for critical error messages. | final public static int | ERROR Error code for regular error messages. | final public static int | INFORMATION Error code for informational messages. | final public static int | SYSTEMERROR Error code for system errors and bugs. | final public static int | WARNING Error code for warning messages. |
Method Summary | |
public void | addListener(RepaintRequestListener listener) Error messages are inmodifiable and thus listeners are not needed. | public int | getErrorLevel() Gets the errors level. | public void | removeListener(RepaintRequestListener listener) Error messages are inmodifiable and thus listeners are not needed. | public void | requestRepaint() Error messages are inmodifiable and thus listeners are not needed. |
CRITICAL | final public static int CRITICAL(Code) | | Error code for critical error messages.
|
ERROR | final public static int ERROR(Code) | | Error code for regular error messages.
|
INFORMATION | final public static int INFORMATION(Code) | | Error code for informational messages.
|
SYSTEMERROR | final public static int SYSTEMERROR(Code) | | Error code for system errors and bugs.
|
WARNING | final public static int WARNING(Code) | | Error code for warning messages.
|
getErrorLevel | public int getErrorLevel()(Code) | | Gets the errors level.
the level of error as an integer. |
|
|
|