| Package | Description | 
|---|---|
| com.broadleafcommerce.cartoperation.service.provider.external | |
| com.broadleafcommerce.cartoperation.web.endpoint.exception | 
| Modifier and Type | Method and Description | 
|---|---|
protected StaleCartException | 
ExternalCartProvider.cartConflict(Integer requestCartVersion,
            String cartId,
            com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo,
            org.springframework.web.reactive.function.client.WebClientResponseException.Conflict conflictException)
Builds an exception when a CONFLICT exception is thrown from the Cart Service, indicating
 that an optimistic lock failure occurred. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError> | 
CartOperationExceptionAdvisor.staleCartException(StaleCartException ex,
                  org.springframework.web.context.request.WebRequest request)  | 
| Constructor and Description | 
|---|
StaleCartApiError(StaleCartException ex)  | 
Copyright © 2021. All rights reserved.