org.riotfamily.common.web.util
Class AdvancedMappingExceptionResolver
java.lang.Object
org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
org.riotfamily.common.web.util.AdvancedMappingExceptionResolver
- All Implemented Interfaces:
- Ordered, HandlerExceptionResolver
public class AdvancedMappingExceptionResolver
- extends SimpleMappingExceptionResolver
Extends the SimpleMappingExceptionResolver
and adds the
root-cause of the exception to the model.
- Author:
- Felix Gnass [fgnass at neteye dot de]
Methods inherited from class org.springframework.web.servlet.handler.SimpleMappingExceptionResolver |
applyStatusCodeIfPossible, buildLogMessage, determineStatusCode, determineViewName, doResolveException, findMatchingViewName, getDepth, getModelAndView, getOrder, logException, resolveException, setDefaultErrorView, setDefaultStatusCode, setExceptionAttribute, setExceptionMappings, setMappedHandlerClasses, setMappedHandlers, setOrder, setWarnLogCategory, shouldApplyTo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdvancedMappingExceptionResolver
public AdvancedMappingExceptionResolver()
setRootCaseAttribute
public void setRootCaseAttribute(String rootCaseAttribute)
getModelAndView
protected ModelAndView getModelAndView(String viewName,
Exception ex)
- Overrides:
getModelAndView
in class SimpleMappingExceptionResolver