Class KualiExceptionHandlerAction

java.lang.Object
org.apache.struts.action.Action
org.kuali.rice.kns.web.struts.action.KualiExceptionHandlerAction

@Deprecated public class KualiExceptionHandlerAction extends org.apache.struts.action.Action
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
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
    Deprecated.
    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)
    Deprecated.
    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)
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      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
      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:
      • 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
      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