| dtw.webmail.model.JwmaError
All known Subclasses: dtw.webmail.model.JwmaException,
JwmaError | public interface JwmaError (Code) | | An interface defining the contract for interaction with
the JwmaError model.
The JwmaError allows a view programmer to obtain
information about an error to display it in free style
and in any language. Note that the description will be in
the language of the errormessages.properties file.
author: Dieter Wimberger version: 0.9.7 07/02/2003 |
Method Summary | |
public String[] | getDescriptions() Returns an String[] containing the
keys to the locale specific error descriptions. | public String | getExceptionTrace() Returns a String representing the Errors
embedded exception stack trace. | public boolean | hasException() Tests if the error has an embedded exception. | public boolean | isDisplayed() Tests if the error has been displayed. | public boolean | isInlineError() Tests if the error is an inline error. | public void | setDisplayed(boolean b) Set's the flag that stores if an error has
been displayed. |
getDescriptions | public String[] getDescriptions()(Code) | | Returns an String[] containing the
keys to the locale specific error descriptions.
an array of strings containing the errordescription keys. |
getExceptionTrace | public String getExceptionTrace()(Code) | | Returns a String representing the Errors
embedded exception stack trace.
the error's embedded exception stacktrace asString. |
hasException | public boolean hasException()(Code) | | Tests if the error has an embedded exception.
true if error has an embedded exception,false otherwise. |
isDisplayed | public boolean isDisplayed()(Code) | | Tests if the error has been displayed.
true if it was displayed, false otherwise. |
isInlineError | public boolean isInlineError()(Code) | | Tests if the error is an inline error.
An inline error should be displayed within the same view
and not on the error view.
true if it is an inline error, false otherwise. |
setDisplayed | public void setDisplayed(boolean b)(Code) | | Set's the flag that stores if an error has
been displayed.
Parameters: b - true if it was displayed, false otherwise. |
|
|