Class ProviderApiException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.lang.RuntimeException
- 
- com.broadleafcommerce.cartoperation.exception.ProviderApiException
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class ProviderApiException extends RuntimeException Defines a generic error that can be thrown in response to receiving an error from an API that one of the providers (e.g.,CatalogProvider) received. This allows the error to bubble up to the local endpoint and be returned.- Author:
- Nathan Moore (nathandmoore)
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description ProviderApiException(String message, Throwable cause, org.springframework.web.reactive.function.client.WebClientResponseException receivedException)ProviderApiException(String message, org.springframework.web.reactive.function.client.WebClientResponseException receivedException)ProviderApiException(Throwable cause, org.springframework.web.reactive.function.client.WebClientResponseException receivedException)ProviderApiException(org.springframework.web.reactive.function.client.WebClientResponseException receivedException)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.web.reactive.function.client.WebClientResponseExceptiongetReceivedException()The received error.- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
ProviderApiExceptionpublic ProviderApiException(org.springframework.web.reactive.function.client.WebClientResponseException receivedException) 
 - 
ProviderApiExceptionpublic ProviderApiException(String message, org.springframework.web.reactive.function.client.WebClientResponseException receivedException) 
 - 
ProviderApiExceptionpublic ProviderApiException(String message, Throwable cause, org.springframework.web.reactive.function.client.WebClientResponseException receivedException) 
 - 
ProviderApiExceptionpublic ProviderApiException(Throwable cause, org.springframework.web.reactive.function.client.WebClientResponseException receivedException) 
 
- 
 
-