Class PayPalProviderApiException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.broadleafcommerce.paypal.micro.gateway.service.provider.exception.PayPalProviderApiException
-
- All Implemented Interfaces:
Serializable
public class PayPalProviderApiException extends RuntimeException
Defines a generic error that can be thrown in response to receiving an error from an API that one of the providers received. This allows the error to bubble up to the local endpoint and be returned.- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PayPalProviderApiException(String message, Throwable cause, org.springframework.web.reactive.function.client.WebClientResponseException receivedException)
PayPalProviderApiException(String message, org.springframework.web.reactive.function.client.WebClientResponseException receivedException)
PayPalProviderApiException(Throwable cause, org.springframework.web.reactive.function.client.WebClientResponseException receivedException)
PayPalProviderApiException(org.springframework.web.reactive.function.client.WebClientResponseException receivedException)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.web.reactive.function.client.WebClientResponseException
getReceivedException()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PayPalProviderApiException
public PayPalProviderApiException(org.springframework.web.reactive.function.client.WebClientResponseException receivedException)
-
PayPalProviderApiException
public PayPalProviderApiException(String message, org.springframework.web.reactive.function.client.WebClientResponseException receivedException)
-
PayPalProviderApiException
public PayPalProviderApiException(String message, Throwable cause, org.springframework.web.reactive.function.client.WebClientResponseException receivedException)
-
PayPalProviderApiException
public PayPalProviderApiException(Throwable cause, org.springframework.web.reactive.function.client.WebClientResponseException receivedException)
-
-