Class TracingErrorAttributes
java.lang.Object
org.springframework.boot.web.servlet.error.DefaultErrorAttributes
ch.admin.bit.jeap.messagecontract.web.api.TracingErrorAttributes
- All Implemented Interfaces:
org.springframework.boot.web.servlet.error.ErrorAttributes,org.springframework.core.Ordered,org.springframework.web.servlet.HandlerExceptionResolver
@Component
public class TracingErrorAttributes
extends org.springframework.boot.web.servlet.error.DefaultErrorAttributes
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetErrorAttributes(org.springframework.web.context.request.WebRequest webRequest, org.springframework.boot.web.error.ErrorAttributeOptions options) Methods inherited from class org.springframework.boot.web.servlet.error.DefaultErrorAttributes
getError, getMessage, getOrder, resolveException
-
Constructor Details
-
TracingErrorAttributes
public TracingErrorAttributes(io.micrometer.tracing.Tracer tracer)
-
-
Method Details
-
getErrorAttributes
public Map<String,Object> getErrorAttributes(org.springframework.web.context.request.WebRequest webRequest, org.springframework.boot.web.error.ErrorAttributeOptions options) - Specified by:
getErrorAttributesin interfaceorg.springframework.boot.web.servlet.error.ErrorAttributes- Overrides:
getErrorAttributesin classorg.springframework.boot.web.servlet.error.DefaultErrorAttributes
-