com.webmethods.caf.faces.bean
Class BaseWebPageErrorPageBean

java.lang.Object
  extended by com.webmethods.caf.faces.bean.BaseFacesBean
      extended by com.webmethods.caf.faces.bean.BaseFacesSessionBean
          extended by com.webmethods.caf.faces.bean.BaseViewBean
              extended by com.webmethods.caf.faces.bean.BaseWebPageBean
                  extended by com.webmethods.caf.faces.bean.BaseWebPageErrorPageBean
All Implemented Interfaces:
IPageFlowScopeAdapter

public class BaseWebPageErrorPageBean
extends BaseWebPageBean

Base class for web application error pages.


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, OUTCOME_ERROR, OUTCOME_OK, resourcesProviders
 
Constructor Summary
BaseWebPageErrorPageBean()
           
 
Method Summary
 String getErrorMessage()
          Returns the Error message of the error being reported
 String getErrorRequestUri()
          Returns the URI of the page that caused the error being reported
 Integer getErrorStatusCode()
          Returns the HTTP Error status code being reported
 Exception getException()
          Returns the Exception of the error being reported
 String getExceptionStackTrace()
          For convenience, returns the exception stack trace as a string.
 String getExceptionType()
          Returns the Exception type of the error being reported
 
Methods 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, 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, createValueBinding, error, error, error, error, error, getBean, getFacesContext, getLocale, getResourceInputStream, getResources, getResourcesProvider, getRootCause, getStackTrace, getTreeAttribute, isUserInRole, log, log, log, putTreeAttribute, resetDataBindingClients, resolveDataBinding, resolveDataBinding, resolveExpression, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseWebPageErrorPageBean

public BaseWebPageErrorPageBean()
Method Detail

getErrorStatusCode

public Integer getErrorStatusCode()
Returns the HTTP Error status code being reported

Returns:
Integer of error code

getErrorRequestUri

public String getErrorRequestUri()
Returns the URI of the page that caused the error being reported

Returns:
URI as a String

getExceptionType

public String getExceptionType()
Returns the Exception type of the error being reported

Returns:
Exception type String

getErrorMessage

public String getErrorMessage()
Returns the Error message of the error being reported

Returns:
Error message String

getException

public Exception getException()
Returns the Exception of the error being reported

Returns:
the Exception

getExceptionStackTrace

public String 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