|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Method Summary | |
java.lang.String[] |
getDescriptions()
Returns an String[] containing the keys to the locale specific error descriptions. |
java.lang.String |
getExceptionTrace()
Returns a String representing the Errors embedded exception stack trace. |
boolean |
hasException()
Tests if the error has an embedded exception. |
boolean |
isDisplayed()
Tests if the error has been displayed. |
boolean |
isInlineError()
Tests if the error is an inline error. |
void |
setDisplayed(boolean b)
Set's the flag that stores if an error has been displayed. |
Method Detail |
public boolean isInlineError()
An inline error should be displayed within the same view and not on the error view.
public boolean isDisplayed()
public void setDisplayed(boolean b)
b
- true if it was displayed, false otherwise.public java.lang.String[] getDescriptions()
public boolean hasException()
public java.lang.String getExceptionTrace()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |