java.lang.Object
com.broadleafcommerce.vendor.chasepayment.web.endpoint.exception.HPSExceptionAdvisor

@RestControllerAdvice(annotations=org.springframework.web.bind.annotation.ResponseBody.class) public class HPSExceptionAdvisor extends Object
Exception handler registry for handling errors related to Chase HPS flows.
  • Constructor Details

    • HPSExceptionAdvisor

      public HPSExceptionAdvisor()
  • Method Details

    • handleUnexpectedHPSFailureException

      @ExceptionHandler(UnexpectedHPSFailureException.class) public org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError> handleUnexpectedHPSFailureException(UnexpectedHPSFailureException ex, org.springframework.web.context.request.WebRequest request)
    • getRequestUrl

      protected String getRequestUrl(org.springframework.web.context.request.WebRequest request)
    • 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)