public class DefaultExceptionResolver
extends org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
默认的异常处理器
| 构造器和说明 |
|---|
DefaultExceptionResolver() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.web.servlet.ModelAndView |
resolveException(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
Object handler,
Exception e) |
doResolveException, handleAsyncRequestTimeoutException, handleBindException, handleConversionNotSupported, handleHttpMediaTypeNotAcceptable, handleHttpMediaTypeNotSupported, handleHttpMessageNotReadable, handleHttpMessageNotWritable, handleHttpRequestMethodNotSupported, handleMethodArgumentNotValidException, handleMissingPathVariable, handleMissingServletRequestParameter, handleMissingServletRequestPartException, handleNoHandlerFoundException, handleServletRequestBindingException, handleTypeMismatch, sendServerErrorpublic org.springframework.web.servlet.ModelAndView resolveException(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
@Nullable
Object handler,
Exception e)
resolveException 在接口中 org.springframework.web.servlet.HandlerExceptionResolverresolveException 在类中 org.springframework.web.servlet.handler.AbstractHandlerExceptionResolverCopyright © 2018. All rights reserved.