Class UifHandlerExceptionResolver

java.lang.Object
org.kuali.rice.krad.web.controller.UifHandlerExceptionResolver
All Implemented Interfaces:
org.springframework.web.servlet.HandlerExceptionResolver

public class UifHandlerExceptionResolver extends Object implements org.springframework.web.servlet.HandlerExceptionResolver
Spring Exception intercepter

Gets the data needed for the incident report from the request and builds the model and view for the incident report. This resolver intercepts any unhandled exception.

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

    • UifHandlerExceptionResolver

      public UifHandlerExceptionResolver()
  • Method Details

    • resolveException

      public org.springframework.web.servlet.ModelAndView resolveException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler, Exception ex)
      Builds the incident report model and view from the request that threw the exception
      Specified by:
      resolveException in interface org.springframework.web.servlet.HandlerExceptionResolver
      Parameters:
      request - - the request
      response - - the response
      handler - - the current handler when the exception occurred
      ex - - the exception
      Returns:
      the incident report model and view
      See Also:
      • HandlerExceptionResolver.resolveException(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.Object, java.lang.Exception)
    • getViewService

      protected ViewService getViewService()
    • getModelAndViewService

      protected ModelAndViewService getModelAndViewService()