public class RestMappingExceptionResolver
extends org.springframework.web.servlet.handler.SimpleMappingExceptionResolver
SimpleMappingExceptionResolver SimpleMappingExceptionResolver.doResolveException(HttpServletRequest, HttpServletResponse, Object, Exception) removes the
StackTrace of the exception determineViewName(Exception, HttpServletRequest) Retunrs the Canotical name of the Excetion
SimpleMappingExceptionResolver.determineStatusCode(HttpServletRequest, String) Will use the exction canotical name to
resolve the statusDEFAULT_EXCEPTION_ATTRIBUTE| Constructor and Description |
|---|
RestMappingExceptionResolver() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
determineViewName(Exception ex,
javax.servlet.http.HttpServletRequest request) |
protected org.springframework.web.servlet.ModelAndView |
getModelAndView(String viewName,
Exception ex) |
addStatusCode, applyStatusCodeIfPossible, determineStatusCode, doResolveException, findMatchingViewName, getDepth, getModelAndView, getStatusCodesAsMap, setDefaultErrorView, setDefaultStatusCode, setExceptionAttribute, setExceptionMappings, setExcludedExceptions, setStatusCodesbuildLogMessage, getOrder, logException, prepareResponse, preventCaching, resolveException, setMappedHandlerClasses, setMappedHandlers, setOrder, setPreventResponseCaching, setWarnLogCategory, shouldApplyToCopyright © 2015 CrafterCMS. All Rights Reserved.