Class KualiExceptionHandlerAction
java.lang.Object
org.apache.struts.action.Action
org.kuali.rice.kns.web.struts.action.KualiExceptionHandlerAction
Deprecated.
KNS Struts deprecated, use KRAD and the Spring MVC framework.
This is the struts action class for handling the exception for Kuali
applications.
-
Field Summary
Fields inherited from class org.apache.struts.action.Action
servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.struts.action.ActionForwardexecute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated.This overridden method dispatches action to be taken based on "methodToCall" parameter.org.apache.struts.action.ActionForwardexecuteException(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated.This overridden method processes the exception and post exception (when user either submit/cancel the exception JSP page).protected org.apache.struts.action.ActionForwardprocessException(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, Exception exception) Deprecated.This method process the caught exception by creating an exception information properties list and forward these properties to the exception incident handler JSP.Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
-
Constructor Details
-
KualiExceptionHandlerAction
public KualiExceptionHandlerAction()Deprecated.
-
-
Method Details
-
execute
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception Deprecated.This overridden method dispatches action to be taken based on "methodToCall" parameter. The exception is processed when there is no "methodToCall" specified.- Overrides:
executein classorg.apache.struts.action.Action- Throws:
Exception- See Also:
-
executeException
public org.apache.struts.action.ActionForward executeException(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception Deprecated.This overridden method processes the exception and post exception (when user either submit/cancel the exception JSP page).- ProcessDefinition application Exception - Exception is stored in Http Request
- ProcessDefinition exception incident reporting - No exception, only form data
- Throws:
Exception- See Also:
-
processException
protected org.apache.struts.action.ActionForward processException(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, Exception exception) throws Exception Deprecated.This method process the caught exception by creating an exception information properties list and forward these properties to the exception incident handler JSP.- Parameters:
mapping-request-exception-documentId- Id of the document that Struts threw exception during its processing. null if not the document processing that caused the exception- Returns:
- Throws:
Exception
-