public class LemonErrorAttributes<T extends java.lang.Throwable>
extends org.springframework.boot.web.servlet.error.DefaultErrorAttributes
DefaultExceptionHandlerControllerAdvice,
e.g. exceptions thrown in filters.| Constructor and Description |
|---|
LemonErrorAttributes(ErrorResponseComposer<T> errorResponseComposer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addLemonErrorDetails(java.util.Map<java.lang.String,java.lang.Object> errorAttributes,
org.springframework.web.context.request.WebRequest request)
Handles exceptions
|
java.util.Map<java.lang.String,java.lang.Object> |
getErrorAttributes(org.springframework.web.context.request.WebRequest request,
boolean includeStackTrace)
Calls the base class and then adds our details
|
public LemonErrorAttributes(ErrorResponseComposer<T> errorResponseComposer)
public java.util.Map<java.lang.String,java.lang.Object> getErrorAttributes(org.springframework.web.context.request.WebRequest request,
boolean includeStackTrace)
getErrorAttributes in interface org.springframework.boot.web.servlet.error.ErrorAttributesgetErrorAttributes in class org.springframework.boot.web.servlet.error.DefaultErrorAttributesprotected void addLemonErrorDetails(java.util.Map<java.lang.String,java.lang.Object> errorAttributes,
org.springframework.web.context.request.WebRequest request)