@Order(value=-2147483648) public class ExtendedErrorAttributes extends Object implements org.springframework.boot.autoconfigure.web.ErrorAttributes, org.springframework.web.servlet.HandlerExceptionResolver, org.springframework.core.Ordered
DefaultErrorAttributes
Created by zhanghaolun on 16/8/9.
Constructor and Description |
---|
ExtendedErrorAttributes() |
Modifier and Type | Method and Description |
---|---|
Throwable |
getError(org.springframework.web.context.request.RequestAttributes requestAttributes) |
Map<String,Object> |
getErrorAttributes(org.springframework.web.context.request.RequestAttributes requestAttributes,
boolean includeStackTrace) |
int |
getOrder() |
org.springframework.web.servlet.ModelAndView |
resolveException(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler,
Exception ex) |
public Map<String,Object> getErrorAttributes(org.springframework.web.context.request.RequestAttributes requestAttributes, boolean includeStackTrace)
getErrorAttributes
in interface org.springframework.boot.autoconfigure.web.ErrorAttributes
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
public org.springframework.web.servlet.ModelAndView resolveException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler, Exception ex)
resolveException
in interface org.springframework.web.servlet.HandlerExceptionResolver
public Throwable getError(org.springframework.web.context.request.RequestAttributes requestAttributes)
getError
in interface org.springframework.boot.autoconfigure.web.ErrorAttributes
Copyright © 2017. All rights reserved.