public class ErrorBean extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
ERROR_BEAN_NAME |
Constructor and Description |
---|
ErrorBean() |
Modifier and Type | Method and Description |
---|---|
String |
getErrorMessageKey()
Gets the error message key.
|
Throwable |
getLastError() |
String |
getReturnPage() |
void |
setErrorMessageKey(String errorMessageKey)
Sets the error message key.
|
void |
setLastError(Throwable error) |
void |
setReturnPage(String returnPage) |
public static final String ERROR_BEAN_NAME
public String getReturnPage()
public void setReturnPage(String returnPage)
returnPage
- The page to return to after showing the errorpublic Throwable getLastError()
public void setLastError(Throwable error)
error
- The lastError to set.public String getErrorMessageKey()
public void setErrorMessageKey(String errorMessageKey)
errorMessageKey
- the new error message keyCopyright © 2005–2017 Alfresco Software. All rights reserved.