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