@Order(value=-2147483648)
public class ErrorAttributes
extends org.springframework.boot.web.servlet.error.DefaultErrorAttributes
| Constructor and Description |
|---|
ErrorAttributes(java.util.List<IErrorHandler> errorHandlers) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getErrorAttributes(org.springframework.web.context.request.WebRequest webRequest,
boolean includeStackTrace) |
static java.lang.String |
getMessage(org.springframework.web.context.request.RequestAttributes requestAttributes) |
static java.lang.String |
getProperty(javax.validation.ConstraintViolation<?> constraintViolation) |
static org.springframework.http.HttpStatus |
getStatus(org.springframework.web.context.request.RequestAttributes requestAttributes) |
static void |
setErrorInfo(org.springframework.web.context.request.WebRequest request,
java.lang.Integer httpStatusCode,
java.lang.String message,
java.lang.Throwable error) |
public ErrorAttributes(java.util.List<IErrorHandler> errorHandlers)
public java.util.Map<java.lang.String,java.lang.Object> getErrorAttributes(org.springframework.web.context.request.WebRequest webRequest,
boolean includeStackTrace)
getErrorAttributes in interface org.springframework.boot.web.servlet.error.ErrorAttributesgetErrorAttributes in class org.springframework.boot.web.servlet.error.DefaultErrorAttributes@NotNull public static java.lang.String getProperty(javax.validation.ConstraintViolation<?> constraintViolation)
public static void setErrorInfo(org.springframework.web.context.request.WebRequest request,
java.lang.Integer httpStatusCode,
java.lang.String message,
java.lang.Throwable error)
public static org.springframework.http.HttpStatus getStatus(org.springframework.web.context.request.RequestAttributes requestAttributes)
public static java.lang.String getMessage(org.springframework.web.context.request.RequestAttributes requestAttributes)