Class ChasePaymentWalletExceptionAdvisor
java.lang.Object
com.broadleafcommerce.vendor.chasepayment.web.endpoint.exception.ChasePaymentWalletExceptionAdvisor
@RestControllerAdvice(annotations=org.springframework.web.bind.annotation.ResponseBody.class)
public class ChasePaymentWalletExceptionAdvisor
extends Object
Exception handler registry for handling errors related to Chase Wallet flows.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable StringgetErrorRef(org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError> response) protected com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtilsprotected StringgetRequestUrl(org.springframework.web.context.request.WebRequest request) org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError>handleChasePaymentApplePayCertificateException(ChasePaymentApplePayCertificateException ex, org.springframework.web.context.request.WebRequest request) org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError>handleChasePaymentCreateApplePaySessionException(ChasePaymentCreateApplePaySessionException ex, org.springframework.web.context.request.WebRequest request) voidsetExceptionHandlerUtils(com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtils exceptionHandlerUtils)
-
Constructor Details
-
ChasePaymentWalletExceptionAdvisor
public ChasePaymentWalletExceptionAdvisor()
-
-
Method Details
-
handleChasePaymentCreateApplePaySessionException
@ExceptionHandler(ChasePaymentCreateApplePaySessionException.class) public org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError> handleChasePaymentCreateApplePaySessionException(ChasePaymentCreateApplePaySessionException ex, org.springframework.web.context.request.WebRequest request) -
handleChasePaymentApplePayCertificateException
@ExceptionHandler(ChasePaymentApplePayCertificateException.class) public org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError> handleChasePaymentApplePayCertificateException(ChasePaymentApplePayCertificateException ex, org.springframework.web.context.request.WebRequest request) -
getRequestUrl
-
getErrorRef
@Nullable protected @Nullable String getErrorRef(org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError> response) -
getExceptionHandlerUtils
protected com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtils getExceptionHandlerUtils() -
setExceptionHandlerUtils
@Autowired public void setExceptionHandlerUtils(com.broadleafcommerce.common.error.validation.web.ExceptionHandlerUtils exceptionHandlerUtils)
-