Package com.webmethods.caf.faces.bean
Class BaseWebPageErrorPageBean
java.lang.Object
com.webmethods.caf.faces.bean.BaseFacesBean
com.webmethods.caf.faces.bean.BaseFacesSessionBean
com.webmethods.caf.faces.bean.BaseViewBean
com.webmethods.caf.faces.bean.BaseWebPageBean
com.webmethods.caf.faces.bean.BaseWebPageErrorPageBean
- All Implemented Interfaces:
IPageFlowScopeAdapter
,Serializable
,EventListener
,PhaseListener
,HttpSessionBindingListener
Base class for web application error pages.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.webmethods.caf.faces.bean.BaseViewBean
BaseViewBean.ClientIdsContentProvider
-
Field Summary
Fields inherited from class com.webmethods.caf.faces.bean.BaseViewBean
clientIds, initialized
Fields inherited from class com.webmethods.caf.faces.bean.BaseFacesSessionBean
fExpireWithPageFlow
Fields inherited from class com.webmethods.caf.faces.bean.BaseFacesBean
DATA_BINDING_CLIENTS, EMPTY_RESOURCES, OUTCOME_ERROR, OUTCOME_OK, resourcesProviders
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the Error message of the error being reportedReturns the URI of the page that caused the error being reportedReturns the HTTP Error status code being reportedReturns the Exception of the error being reportedFor convenience, returns the exception stack trace as a string.Returns the Exception type of the error being reportedMethods inherited from class com.webmethods.caf.faces.bean.BaseWebPageBean
getAppNavBean
Methods inherited from class com.webmethods.caf.faces.bean.BaseViewBean
afterApplyRequestValues, afterInvokeApplication, afterPhase, afterProcessValidations, afterRenderResponse, afterRestoreView, afterUpdateModelValues, beforeApplyRequestValues, beforeInvokeApplication, beforePhase, beforeProcessValidations, beforeRenderResponse, beforeRestoreView, beforeUpdateModelValues, callInitialize, findComponent, findComponentInRoot, getApplicationScope, getClientIds, getPhaseId, getRealPath, getRequestParam, getRequestScope, getSessionScope, gotoPage, gotoPage, initialize, isAsyncRequest, preRenderResponse, release, resetPageFlowStorage, streamFileDataToResponse
Methods inherited from class com.webmethods.caf.faces.bean.BaseFacesSessionBean
getExpireWithPageFlow, setExpireWithPageFlow, valueBound, valueUnbound
Methods inherited from class com.webmethods.caf.faces.bean.BaseFacesBean
createMethodBinding, createMethodExpression, createValueBinding, createValueExpression, createValueExpression, error, error, error, error, error, getBean, getFacesContext, getLocale, getResourceInputStream, getResources, getResourcesProvider, getRootCause, getStackTrace, getTreeAttribute, isUserInRole, log, log, log, putTreeAttribute, resetDataBindingClients, resolveDataBinding, resolveDataBinding, resolveExpression, setValue
-
Constructor Details
-
BaseWebPageErrorPageBean
public BaseWebPageErrorPageBean()
-
-
Method Details
-
getErrorStatusCode
Returns the HTTP Error status code being reported- Returns:
Integer
of error code
-
getErrorRequestUri
Returns the URI of the page that caused the error being reported- Returns:
- URI as a
String
-
getExceptionType
Returns the Exception type of the error being reported- Returns:
- Exception type
String
-
getErrorMessage
Returns the Error message of the error being reported- Returns:
- Error message
String
-
getException
Returns the Exception of the error being reported- Returns:
- the
Exception
-
getExceptionStackTrace
For convenience, returns the exception stack trace as a string. If there is no exception available, then null is returned.- Returns:
- Stack trace as a
String
, null if no exception
-