org.kuali.rice.krad.web.bind
Class UifHandlerExceptionResolver

java.lang.Object
  extended by org.kuali.rice.krad.web.bind.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
UifHandlerExceptionResolver()
           
 
Method Summary
protected  SessionDocumentService getSessionDocumentService()
           
protected  ViewService getViewService()
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UifHandlerExceptionResolver

public UifHandlerExceptionResolver()
Method Detail

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()

getSessionDocumentService

protected SessionDocumentService getSessionDocumentService()


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