Class UnexpectedHPSFailureException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.broadleafcommerce.vendor.chasepayment.service.hps.exception.UnexpectedHPSFailureException
All Implemented Interfaces:
Serializable

public class UnexpectedHPSFailureException extends RuntimeException

Thrown when there is an unexpected error during an HPS flow. This should only be thrown when the cause of the error is something unexpected or system-driven. This is not to be used for user-caused errors like bad input.

Note, the HPSExceptionAdvisor will handle this exception to always return a generic error message to the final API caller to guarantee no sensitive information is leaked.

See Also:
  • Constructor Details

    • UnexpectedHPSFailureException

      public UnexpectedHPSFailureException(String message)
    • UnexpectedHPSFailureException

      public UnexpectedHPSFailureException(String message, Throwable cause)