org.alfresco.web.bean
Class ErrorBean
java.lang.Object
org.alfresco.web.bean.ErrorBean
- All Implemented Interfaces:
- java.io.Serializable
public class ErrorBean
- extends java.lang.Object
- implements java.io.Serializable
Bean used by the error page, holds the last exception to be thrown by the system
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERROR_BEAN_NAME
public static final java.lang.String ERROR_BEAN_NAME
- See Also:
- Constant Field Values
ErrorBean
public ErrorBean()
getReturnPage
public java.lang.String getReturnPage()
- Returns:
- Returns the page to go back to after the error has been displayed
setReturnPage
public void setReturnPage(java.lang.String returnPage)
- Parameters:
returnPage
- The page to return to after showing the error
getLastError
public java.lang.Throwable getLastError()
- Returns:
- Returns the lastError.
setLastError
public void setLastError(java.lang.Throwable error)
- Parameters:
error
- The lastError to set.
getErrorMessageKey
public java.lang.String getErrorMessageKey()
- Gets the error message key.
- Returns:
- the error message key
setErrorMessageKey
public void setErrorMessageKey(java.lang.String errorMessageKey)
- Sets the error message key.
- Parameters:
errorMessageKey
- the new error message key
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.