Index

A B C D E F G H I L M O P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

addError(GlobalError) - Method in class com.broadleafcommerce.common.error.ApiError
Gives more information to a client about what went wrong in their request
addFieldError(FieldValidationError) - Method in class com.broadleafcommerce.common.error.validation.ApiValidationError
 
ApiError - Class in com.broadleafcommerce.common.error
Response object that represents some error state from the API.
ApiError(String, String, String, OffsetDateTime, HttpStatusCode, int, String, String, List<GlobalError>) - Constructor for class com.broadleafcommerce.common.error.ApiError
Creates a new ApiError instance.
ApiError(String, String, String, OffsetDateTime, HttpStatus, int, List<GlobalError>) - Constructor for class com.broadleafcommerce.common.error.ApiError
 
ApiError(String, String, HttpStatus) - Constructor for class com.broadleafcommerce.common.error.ApiError
 
ApiError(String, String, HttpStatusCode) - Constructor for class com.broadleafcommerce.common.error.ApiError
Initializes a new error
ApiError.StatusConverter - Class in com.broadleafcommerce.common.error
 
ApiErrorProperties() - Constructor for class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.ApiErrorProperties
 
ApiMvcExceptionAdvisor - Class in com.broadleafcommerce.common.error.validation.web
Provides default exception handling for a variety of Spring MVC Exceptions
ApiMvcExceptionAdvisor(Environment) - Constructor for class com.broadleafcommerce.common.error.validation.web.ApiMvcExceptionAdvisor
 
ApiValidationError - Class in com.broadleafcommerce.common.error.validation
 
ApiValidationError() - Constructor for class com.broadleafcommerce.common.error.validation.ApiValidationError
 
ApiValidationWebExceptionAdvisor - Class in com.broadleafcommerce.common.error.validation.web
Exception resolver for ValidationException along with Spring bind exceptions that are annotated with @Valid
ApiValidationWebExceptionAdvisor(MessageSource) - Constructor for class com.broadleafcommerce.common.error.validation.web.ApiValidationWebExceptionAdvisor
 

B

BroadleafErrorAttributes - Class in com.broadleafcommerce.common.error.validation.web
Spring Boot error attributes to make default errors look like an ApiError.
BroadleafErrorAttributes() - Constructor for class com.broadleafcommerce.common.error.validation.web.BroadleafErrorAttributes
 
BroadleafErrorAttributesFactoryBean - Class in com.broadleafcommerce.common.error.validation.web
FactoryBean to dynamically register BroadleafErrorAttributes with correct runtime package types and resolve environment-specific properties without introducing compile-time package dependencies.
BroadleafErrorAttributesFactoryBean() - Constructor for class com.broadleafcommerce.common.error.validation.web.BroadleafErrorAttributesFactoryBean
 
BroadleafErrorsWebAutoConfiguration - Class in com.broadleafcommerce.common.error.validation.web.autoconfigure
Auto configuration for exception handling for validation.
BroadleafErrorsWebAutoConfiguration() - Constructor for class com.broadleafcommerce.common.error.validation.web.autoconfigure.BroadleafErrorsWebAutoConfiguration
 
BroadleafErrorsWebAutoConfiguration.BroadleafErrorsWebRegistrar - Class in com.broadleafcommerce.common.error.validation.web.autoconfigure
Programmatic bean registrar to register the 'errorAttributes' bean with the correct targetType, allowing conditional checks (e.g.
BroadleafErrorsWebRegistrar() - Constructor for class com.broadleafcommerce.common.error.validation.web.autoconfigure.BroadleafErrorsWebAutoConfiguration.BroadleafErrorsWebRegistrar
 
BroadleafExceptionHandlerProperties - Class in com.broadleafcommerce.common.error.validation.web
Combined configuration properties for custom exception logging, APM correlation, and legacy API contract opt-out.
BroadleafExceptionHandlerProperties() - Constructor for class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties
 
BroadleafExceptionHandlerProperties.ApiErrorProperties - Class in com.broadleafcommerce.common.error.validation.web
 
BroadleafExceptionHandlerProperties.Logging - Class in com.broadleafcommerce.common.error.validation.web
 
buildResponseEntityAndLogException(String, String, HttpStatus, Throwable, WebRequest, Logger) - Method in class com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtils
Builds a sanitized ApiError and logs the detailed exception internally with log correlation IDs.
buildResponseEntityAndLogException(String, String, HttpStatus, Throwable, WebRequest, Logger, Level) - Method in class com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtils
Builds a sanitized ApiError and logs the detailed exception internally with log correlation IDs.
buildResponseEntityAndLogException(String, String, HttpStatus, HttpStatus, Throwable, WebRequest, Logger) - Method in class com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtils
Builds a sanitized ApiError and logs the detailed exception internally with log correlation IDs.
buildResponseEntityAndLogException(String, String, HttpStatus, HttpStatus, Throwable, WebRequest, Logger, Level) - Method in class com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtils
Builds a sanitized ApiError and logs the detailed exception internally with log correlation IDs.
buildResponseEntityAndLogException(BiFunction<String, HttpStatus, A>, String, HttpStatus, Throwable, WebRequest, Logger) - Method in class com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtils
Integrates, sanitizes, and logs an already constructed custom ApiError subclass using a functional factory with central log correlation and tracing.
buildResponseEntityAndLogException(BiFunction<String, HttpStatus, A>, String, HttpStatus, Throwable, WebRequest, Logger, Level) - Method in class com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtils
Integrates, sanitizes, and logs an already constructed custom ApiError subclass using a functional factory with central log correlation and tracing.
BulkValidationException - Exception in com.broadleafcommerce.common.error.validation
While ValidationException is useful for single-entity validation, this exception should be used for throwing a single exception after validating multiple entities.
BulkValidationException(List<BulkValidationException.EntityValidationFailure>) - Constructor for exception com.broadleafcommerce.common.error.validation.BulkValidationException
 
BulkValidationException.EntityValidationFailure - Class in com.broadleafcommerce.common.error.validation
 

C

canEqual(Object) - Method in exception com.broadleafcommerce.common.error.validation.BulkValidationException
 
canEqual(Object) - Method in exception com.broadleafcommerce.common.error.validation.ValidationException
 
canEqual(Object) - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.ApiErrorProperties
 
canEqual(Object) - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties
 
canEqual(Object) - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.Logging
 
com.broadleafcommerce.common.error - package com.broadleafcommerce.common.error
 
com.broadleafcommerce.common.error.validation - package com.broadleafcommerce.common.error.validation
 
com.broadleafcommerce.common.error.validation.web - package com.broadleafcommerce.common.error.validation.web
 
com.broadleafcommerce.common.error.validation.web.autoconfigure - package com.broadleafcommerce.common.error.validation.web.autoconfigure
 
convert(String) - Method in class com.broadleafcommerce.common.error.ApiError.StatusConverter
 
convert(FieldError) - Method in class com.broadleafcommerce.common.error.validation.web.ApiValidationWebExceptionAdvisor
Turns a Spring FieldError from an Errors into a response object to return from the API
convert(ObjectError) - Method in class com.broadleafcommerce.common.error.validation.web.ApiValidationWebExceptionAdvisor
 
create(boolean) - Static method in class com.broadleafcommerce.common.error.validation.web.BroadleafErrorAttributes
 
createValidationResponse(Set<ConstraintViolation<?>>) - Method in class com.broadleafcommerce.common.error.validation.web.ApiValidationWebExceptionAdvisor
 
createValidationResponse(Errors) - Method in class com.broadleafcommerce.common.error.validation.web.ApiValidationWebExceptionAdvisor
 

D

determineLogLevel(HttpStatusCode, HttpStatusCode, Level) - Method in class com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtils
Determines the final logging level based on the optional override level or dynamic downstream/client status.

E

EntityValidationFailure(Object, Errors) - Constructor for class com.broadleafcommerce.common.error.validation.BulkValidationException.EntityValidationFailure
Creates a new EntityValidationFailure instance.
env - Variable in class com.broadleafcommerce.common.error.validation.web.ApiMvcExceptionAdvisor
 
equals(Object) - Method in class com.broadleafcommerce.common.error.validation.BulkValidationException.EntityValidationFailure
 
equals(Object) - Method in exception com.broadleafcommerce.common.error.validation.BulkValidationException
 
equals(Object) - Method in exception com.broadleafcommerce.common.error.validation.ValidationException
 
equals(Object) - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.ApiErrorProperties
 
equals(Object) - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties
 
equals(Object) - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.Logging
 
ErrorEnvironmentPostProcessor - Class in com.broadleafcommerce.common.error.validation.web.autoconfigure
Default property overrides for the error common library.
ErrorEnvironmentPostProcessor() - Constructor for class com.broadleafcommerce.common.error.validation.web.autoconfigure.ErrorEnvironmentPostProcessor
 
exceptionAdvisorUtils(BroadleafExceptionHandlerProperties) - Method in class com.broadleafcommerce.common.error.validation.web.autoconfigure.BroadleafErrorsWebAutoConfiguration
 
ExceptionHandlerUtils - Class in com.broadleafcommerce.common.error.validation.web
Centrally manages secure exception logging and correlation ID extraction for standard ApiError responses.
ExceptionHandlerUtils(BroadleafExceptionHandlerProperties) - Constructor for class com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtils
 
extractTraceId() - Method in class com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtils
Extract active tracing ID from MDC context using configured prioritised trace keys lookup.

F

FieldValidationError - Class in com.broadleafcommerce.common.error.validation
 
FieldValidationError(String, String, String) - Constructor for class com.broadleafcommerce.common.error.validation.FieldValidationError
 
FieldValidationError(String, String, String, Object) - Constructor for class com.broadleafcommerce.common.error.validation.FieldValidationError
 
FrameworkExceptionAdvisor - Annotation Interface in com.broadleafcommerce.common.error.validation.web
Annotation used to apply a consistent Order to framework exception advisors.

G

getApiError() - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties
 
getCode() - Method in class com.broadleafcommerce.common.error.GlobalError
Can be either machine-readable or human-readable representation of the error
getEntity() - Method in class com.broadleafcommerce.common.error.validation.BulkValidationException.EntityValidationFailure
The entity that failed validation.
getErrorRef() - Method in class com.broadleafcommerce.common.error.ApiError
Unique reference code for support and logs correlation
getErrors() - Method in class com.broadleafcommerce.common.error.validation.BulkValidationException.EntityValidationFailure
The validation errors encountered for BulkValidationException.EntityValidationFailure.entity.
getErrors() - Method in exception com.broadleafcommerce.common.error.validation.ValidationException
 
getErrorStatuses() - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.Logging
List of HTTP Status integers that should trigger ERROR level logs.
getException() - Method in class com.broadleafcommerce.common.error.ApiError
Optional exception class name
getExceptionHandlerUtils() - Method in class com.broadleafcommerce.common.error.validation.web.IllegalArgumentExceptionAdvisor
 
getExceptionHandlerUtils() - Method in class com.broadleafcommerce.common.error.validation.web.RuntimeExceptionAdvisor
 
getFailures() - Method in exception com.broadleafcommerce.common.error.validation.BulkValidationException
A list of the validation failures that this exception was thrown for.
getFieldErrors() - Method in class com.broadleafcommerce.common.error.validation.ApiValidationError
 
getGlobalErrors() - Method in class com.broadleafcommerce.common.error.ApiError
Optionally gives additional information to the client about what was wrong with their request
getInputType(TypeFactory) - Method in class com.broadleafcommerce.common.error.ApiError.StatusConverter
 
getLegacyLoggingLevelExceptionClasses() - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.Logging
Targeted fully-qualified exception class names that should revert to legacy logging severities.
getLegacyTypeAndTitleExceptionClasses() - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.ApiErrorProperties
Targeted fully-qualified exception class names that should revert to legacy type/title formats.
getLogging() - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties
 
getObject() - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafErrorAttributesFactoryBean
 
getObjectType() - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafErrorAttributesFactoryBean
 
getOrder() - Method in class com.broadleafcommerce.common.error.validation.web.autoconfigure.ErrorEnvironmentPostProcessor
 
getOutputType(TypeFactory) - Method in class com.broadleafcommerce.common.error.ApiError.StatusConverter
 
getPath() - Method in class com.broadleafcommerce.common.error.validation.FieldValidationError
 
getReason() - Method in class com.broadleafcommerce.common.error.GlobalError
Human-readable representation of the error
getRejectedValue() - Method in class com.broadleafcommerce.common.error.validation.FieldValidationError
 
getRequestUrl(WebRequest) - Method in class com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtils
Extract active client HTTP request URL from WebRequest context.
getStatus() - Method in class com.broadleafcommerce.common.error.ApiError
 
getStatusCode() - Method in class com.broadleafcommerce.common.error.ApiError
Numerical representation of ApiError.status
getTimestamp() - Method in class com.broadleafcommerce.common.error.ApiError
When the error occurred, defaults to LocalDateTime.now()
getTitle() - Method in class com.broadleafcommerce.common.error.ApiError
A human-readable representation of the type of error being returned
getTraceId() - Method in class com.broadleafcommerce.common.error.ApiError
APM trace ID for tracing the request across microservices
getTraceIdMdcKeys() - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.Logging
Prioritized ordered list of MDC keys checked by the logging utility to extract and propagate the active APM/observability Trace ID on the sanitized ApiError response body.
getType() - Method in class com.broadleafcommerce.common.error.ApiError
A machine-readable representation of the type of error being returned
getWarnStatuses() - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.Logging
List of HTTP Status integers that should trigger WARN level logs.
GlobalError - Class in com.broadleafcommerce.common.error
Represents an individual global error that came back from the API.
GlobalError(String, String) - Constructor for class com.broadleafcommerce.common.error.GlobalError
Creates a new GlobalError instance.

H

handleExceptionInternal(Exception, Object, HttpHeaders, HttpStatusCode, WebRequest) - Method in class com.broadleafcommerce.common.error.validation.web.ApiMvcExceptionAdvisor
 
handleIllegalArgumentException(IllegalArgumentException, WebRequest) - Method in class com.broadleafcommerce.common.error.validation.web.IllegalArgumentExceptionAdvisor
Handles uncaught illegal argument exceptions by logging them and returning an ApiError with 400 status.
handleRuntimeException(RuntimeException, WebRequest) - Method in class com.broadleafcommerce.common.error.validation.web.RuntimeExceptionAdvisor
Handles uncaught runtime exceptions by logging them and returning an ApiError.
hashCode() - Method in class com.broadleafcommerce.common.error.validation.BulkValidationException.EntityValidationFailure
 
hashCode() - Method in exception com.broadleafcommerce.common.error.validation.BulkValidationException
 
hashCode() - Method in exception com.broadleafcommerce.common.error.validation.ValidationException
 
hashCode() - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.ApiErrorProperties
 
hashCode() - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties
 
hashCode() - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.Logging
 

I

IllegalArgumentExceptionAdvisor - Class in com.broadleafcommerce.common.error.validation.web
Exception advisor with a handler that handles uncaught illegal argument exceptions by logging them and returning an error response.
IllegalArgumentExceptionAdvisor() - Constructor for class com.broadleafcommerce.common.error.validation.web.IllegalArgumentExceptionAdvisor
 
isLegacyLoggingLevelEnabled() - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.Logging
MASTER TOGGLE: Must be TRUE for any legacy system-logging severity fallbacks to trigger.
isLegacyTypeAndTitleEnabled() - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.ApiErrorProperties
MASTER TOGGLE: Must be TRUE for any legacy format (type/title) fallbacks to trigger.
isSingleton() - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafErrorAttributesFactoryBean
 

L

logAtLevel(Logger, Level, String, HttpStatusCode, HttpStatusCode, String, String, Throwable) - Method in class com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtils
Logs the detailed exception trace internally at the provided severity level.
logDebug(Exception, WebRequest) - Method in class com.broadleafcommerce.common.error.validation.web.ApiMvcExceptionAdvisor
 
logDebug(Exception, WebRequest) - Method in class com.broadleafcommerce.common.error.validation.web.ApiValidationWebExceptionAdvisor
 
logDebug(Throwable, WebRequest) - Method in class com.broadleafcommerce.common.error.validation.web.IllegalArgumentExceptionAdvisor
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated in favor of central logging managed by ExceptionHandlerUtils.
logError(Throwable, WebRequest) - Method in class com.broadleafcommerce.common.error.validation.web.RuntimeExceptionAdvisor
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated in favor of central logging managed by ExceptionHandlerUtils.
Logging() - Constructor for class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.Logging
 

M

MessageHeaderNotFoundException - Exception in com.broadleafcommerce.common.error.validation
This exception can be thrown when a required message header is not found.
MessageHeaderNotFoundException(String) - Constructor for exception com.broadleafcommerce.common.error.validation.MessageHeaderNotFoundException
 

O

ORDER - Static variable in annotation interface com.broadleafcommerce.common.error.validation.web.FrameworkExceptionAdvisor
 

P

postProcessEnvironment(ConfigurableEnvironment, SpringApplication) - Method in class com.broadleafcommerce.common.error.validation.web.autoconfigure.ErrorEnvironmentPostProcessor
 
processAndLogException(BiFunction<String, HttpStatus, A>, String, String, HttpStatus, HttpStatus, Throwable, WebRequest, Logger, Level) - Method in class com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtils
Core consolidated implementation of exception logging, sanitization, and correlation.

R

registerBeanDefinitions(AnnotationMetadata, BeanDefinitionRegistry) - Method in class com.broadleafcommerce.common.error.validation.web.autoconfigure.BroadleafErrorsWebAutoConfiguration.BroadleafErrorsWebRegistrar
 
resolveLogLevelOverride(Level, Throwable) - Method in class com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtils
Resolves the legacy or dynamic operational logging severity based on backward-compatibility properties.
resolveTitle(String, String, Throwable) - Method in class com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtils
Resolves the legacy or sanitized error message title based on backward-compatibility properties.
resolveType(String, String, Throwable) - Method in class com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtils
Resolves the legacy or standardized error type code based on backward-compatibility properties.
RuntimeExceptionAdvisor - Class in com.broadleafcommerce.common.error.validation.web
Exception advisor with a handler that handles uncaught runtime exceptions by logging them and returning an error response.
RuntimeExceptionAdvisor() - Constructor for class com.broadleafcommerce.common.error.validation.web.RuntimeExceptionAdvisor
 

S

setApplicationContext(ApplicationContext) - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafErrorAttributesFactoryBean
 
setErrorRef(String) - Method in class com.broadleafcommerce.common.error.ApiError
Unique reference code for support and logs correlation
setErrorStatuses(List<Integer>) - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.Logging
List of HTTP Status integers that should trigger ERROR level logs.
setException(String) - Method in class com.broadleafcommerce.common.error.ApiError
Optional exception class name
setExceptionHandlerUtils(ExceptionHandlerUtils) - Method in class com.broadleafcommerce.common.error.validation.web.IllegalArgumentExceptionAdvisor
 
setExceptionHandlerUtils(ExceptionHandlerUtils) - Method in class com.broadleafcommerce.common.error.validation.web.RuntimeExceptionAdvisor
 
setLegacyLoggingLevelEnabled(boolean) - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.Logging
MASTER TOGGLE: Must be TRUE for any legacy system-logging severity fallbacks to trigger.
setLegacyLoggingLevelExceptionClasses(List<String>) - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.Logging
Targeted fully-qualified exception class names that should revert to legacy logging severities.
setLegacyTypeAndTitleEnabled(boolean) - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.ApiErrorProperties
MASTER TOGGLE: Must be TRUE for any legacy format (type/title) fallbacks to trigger.
setLegacyTypeAndTitleExceptionClasses(List<String>) - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.ApiErrorProperties
Targeted fully-qualified exception class names that should revert to legacy type/title formats.
setRejectedValue(Object) - Method in class com.broadleafcommerce.common.error.validation.FieldValidationError
 
setTimestamp(OffsetDateTime) - Method in class com.broadleafcommerce.common.error.ApiError
When the error occurred, defaults to LocalDateTime.now()
setTraceId(String) - Method in class com.broadleafcommerce.common.error.ApiError
APM trace ID for tracing the request across microservices
setTraceIdMdcKeys(List<String>) - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.Logging
Prioritized ordered list of MDC keys checked by the logging utility to extract and propagate the active APM/observability Trace ID on the sanitized ApiError response body.
setWarnStatuses(List<Integer>) - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.Logging
List of HTTP Status integers that should trigger WARN level logs.
shouldLogError(HttpStatusCode) - Method in class com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtils
Determines whether the given HTTP status warrants ERROR severity logging.
shouldLogWarn(HttpStatusCode) - Method in class com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtils
Determines whether the given HTTP status warrants WARN severity logging.
shouldUseLegacyTypeAndTitleFormat(Throwable) - Method in class com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtils
Determines whether the legacy format (type/title override) should be applied for a specific exception class.
StatusConverter() - Constructor for class com.broadleafcommerce.common.error.ApiError.StatusConverter
 
supportsJackson2PreferredMapper() - Method in class com.broadleafcommerce.common.error.validation.web.autoconfigure.ErrorEnvironmentPostProcessor
Whether the running Spring Boot version supports the jackson2 preferred-json-mapper value.

T

toResponseEntity() - Method in class com.broadleafcommerce.common.error.ApiError
 
toString() - Method in class com.broadleafcommerce.common.error.ApiError
 
toString() - Method in class com.broadleafcommerce.common.error.GlobalError
 
toString() - Method in class com.broadleafcommerce.common.error.validation.BulkValidationException.EntityValidationFailure
 
toString() - Method in exception com.broadleafcommerce.common.error.validation.BulkValidationException
 
toString() - Method in class com.broadleafcommerce.common.error.validation.FieldValidationError
 
toString() - Method in exception com.broadleafcommerce.common.error.validation.ValidationException
 
toString() - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.ApiErrorProperties
 
toString() - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties.Logging
 
toString() - Method in class com.broadleafcommerce.common.error.validation.web.BroadleafExceptionHandlerProperties
 

V

validationError(Exception, WebRequest) - Method in class com.broadleafcommerce.common.error.validation.web.ApiValidationWebExceptionAdvisor
 
ValidationException - Exception in com.broadleafcommerce.common.error.validation
Indicates that there was a validation error
ValidationException(Errors) - Constructor for exception com.broadleafcommerce.common.error.validation.ValidationException
 

W

withErrorRef(String) - Method in class com.broadleafcommerce.common.error.ApiError
Unique reference code for support and logs correlation
withException(String) - Method in class com.broadleafcommerce.common.error.ApiError
Optional exception class name
withGlobalErrors(List<GlobalError>) - Method in class com.broadleafcommerce.common.error.ApiError
Optionally gives additional information to the client about what was wrong with their request
withStatus(HttpStatusCode) - Method in class com.broadleafcommerce.common.error.ApiError
Should always match exactly the status in the response header.
withStatusCode(int) - Method in class com.broadleafcommerce.common.error.ApiError
Numerical representation of ApiError.status
withTimestamp(OffsetDateTime) - Method in class com.broadleafcommerce.common.error.ApiError
When the error occurred, defaults to LocalDateTime.now()
withTitle(String) - Method in class com.broadleafcommerce.common.error.ApiError
A human-readable representation of the type of error being returned
withTraceId(String) - Method in class com.broadleafcommerce.common.error.ApiError
APM trace ID for tracing the request across microservices
withType(String) - Method in class com.broadleafcommerce.common.error.ApiError
A machine-readable representation of the type of error being returned
A B C D E F G H I L M O P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form