org.kuali.rice.kns.web.struts.form.pojo
Class AuthorizationExceptionHandler

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

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

Handles any AuthorizationException by logging it first and then passing it forward to an explanation page.


Field Summary
 
Fields inherited from class org.apache.struts.action.ExceptionHandler
INCLUDE_PATH, SILENT_IF_COMMITTED
 
Constructor Summary
AuthorizationExceptionHandler()
           
 
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)
          Logs the AuthorizationException before forwarding the user to the explanation page.
 
Methods inherited from class org.apache.struts.action.ExceptionHandler
determineIncludePath, handleCommittedResponse, logException, storeException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorizationExceptionHandler

public AuthorizationExceptionHandler()
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)
Logs the AuthorizationException before forwarding the user to the explanation page.

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 © 2005-2013 The Kuali Foundation. All Rights Reserved.