org.kuali.rice.kns.web.struts.action
Class KualiExceptionHandlerAction
java.lang.Object
org.apache.struts.action.Action
org.kuali.rice.kns.web.struts.action.KualiExceptionHandlerAction
public class KualiExceptionHandlerAction
- extends org.apache.struts.action.Action
This is the struts action class for handling the exception for Kuali
applications.
Fields inherited from class org.apache.struts.action.Action |
servlet |
Method Summary |
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)
This overridden method dispatches action to be taken based on
"methodToCall" parameter. |
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)
This overridden method processes the exception and post exception (when
user either submit/cancel the exception JSP page). |
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)
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KualiExceptionHandlerAction
public KualiExceptionHandlerAction()
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
- This overridden method dispatches action to be taken based on
"methodToCall" parameter. The exception is processed when there is no
"methodToCall" specified.
- Overrides:
execute
in class org.apache.struts.action.Action
- Throws:
Exception
- See Also:
Action.execute(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm,
javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
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
- 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:
Action.execute(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm,
javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
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
- This method process the caught exception by creating an exception
information properties list and forward these properties to the exception
incident handler JSP.
- Parameters:
exception
- mapping
- request
- 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
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.