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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ModelAndViewServiceprotected ViewServiceorg.springframework.web.servlet.ModelAndViewresolveException(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
-
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:
resolveExceptionin interfaceorg.springframework.web.servlet.HandlerExceptionResolver- Parameters:
request- - the requestresponse- - the responsehandler- - the current handler when the exception occurredex- - the exception- Returns:
- the incident report model and view
- See Also:
-
getViewService
-
getModelAndViewService
-