| java.lang.Object org.millstone.base.terminal.UserError
UserError | public class UserError implements ErrorMessage(Code) | | User error is a controlled error occurred in application. User errors
are occur in normal usage of the application and guide the user.
author: IT Mill Ltd. version: 3.1.1 since: 3.0 |
Field Summary | |
final public static int | CONTENT_PREFORMATTED Content mode, where the error contains preformatted text. | final public static int | CONTENT_TEXT Content mode, where the error contains only plain text. | final public static int | CONTENT_UIDL Formatted content mode, where the contents is XML restricted to the
UIDL 1.0 formatting markups. |
Constructor Summary | |
public | UserError(String textErrorMessage) Create a textual error message of level ERROR.
Parameters: textErrorMessage - The text of the error message. | public | UserError(String message, int contentMode, int errorLevel) Create error message with level and content mode. |
CONTENT_PREFORMATTED | final public static int CONTENT_PREFORMATTED(Code) | | Content mode, where the error contains preformatted text.
|
CONTENT_TEXT | final public static int CONTENT_TEXT(Code) | | Content mode, where the error contains only plain text.
|
CONTENT_UIDL | final public static int CONTENT_UIDL(Code) | | Formatted content mode, where the contents is XML restricted to the
UIDL 1.0 formatting markups.
|
UserError | public UserError(String textErrorMessage)(Code) | | Create a textual error message of level ERROR.
Parameters: textErrorMessage - The text of the error message. |
UserError | public UserError(String message, int contentMode, int errorLevel)(Code) | | Create error message with level and content mode.
|
addListener | public void addListener(RepaintRequestListener listener)(Code) | | |
getErrorLevel | public int getErrorLevel()(Code) | | |
removeListener | public void removeListener(RepaintRequestListener listener)(Code) | | |
requestRepaint | public void requestRepaint()(Code) | | |
requestRepaintRequests | public void requestRepaintRequests()(Code) | | |
|
|