org.kuali.rice.kns.web.struts.pojo
Class StrutsExceptionIncidentHandler

java.lang.Object
  extended by org.apache.struts.action.ExceptionHandler
      extended by org.kuali.rice.kns.web.struts.pojo.StrutsExceptionIncidentHandler

public class StrutsExceptionIncidentHandler
extends org.apache.struts.action.ExceptionHandler

This class is the exception handler for the base exception class java.lang.Throwable and is defined as global exception in the struts-config.xml.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
static String EXCEPTION_INCIDENT_HANDLER
          This is defined in struts-config.xml for forwarding this exception to a specified exception handler.
 
Constructor Summary
StrutsExceptionIncidentHandler()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(Exception exception, org.apache.struts.config.ExceptionConfig exceptionConfig, 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 extract exception information such as component name, user name and email, etc.
 
Methods inherited from class org.apache.struts.action.ExceptionHandler
logException, storeException, storeException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXCEPTION_INCIDENT_HANDLER

public static final String EXCEPTION_INCIDENT_HANDLER
This is defined in struts-config.xml for forwarding this exception to a specified exception handler.

Value is exceptionIncidentHandler

See Also:
Constant Field Values
Constructor Detail

StrutsExceptionIncidentHandler

public StrutsExceptionIncidentHandler()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(Exception exception,
                                                      org.apache.struts.config.ExceptionConfig exceptionConfig,
                                                      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 extract exception information such as component name, user name and email, etc.

Overrides:
execute in class org.apache.struts.action.ExceptionHandler
See Also:
ExceptionHandler.execute( java.lang.Exception, org.apache.struts.config.ExceptionConfig, org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.