Class CheckoutWorkflowException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.broadleafcommerce.cartoperation.exception.CheckoutException
com.broadleafcommerce.cartoperation.exception.CheckoutWorkflowException
- All Implemented Interfaces:
Serializable
Thrown when an issue is encountered during the execution of a
CheckoutWorkflow
- Author:
- Chris Kittrell (ckittrell)
- See Also:
-
Constructor Summary
ConstructorDescriptionCheckoutWorkflowException
(Exception e, CheckoutProcessDto processDto) CheckoutWorkflowException
(String failureType, String failureMessage, CheckoutProcessDto processDto) -
Method Summary
Modifier and TypeMethodDescriptionLine item error messages used to describe issues with individual fields, cart items, etc.A collection ofPaymentTransactionFailureDetails
describing how the transaction(s) failed.Methods inherited from class com.broadleafcommerce.cartoperation.exception.CheckoutException
getAdditionalInfo, getCart, getCheckoutProcessDto, getFailureType
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CheckoutWorkflowException
public CheckoutWorkflowException(CheckoutWorkflowActivityException e, CheckoutProcessDto processDto) -
CheckoutWorkflowException
-
CheckoutWorkflowException
public CheckoutWorkflowException(String failureType, String failureMessage, CheckoutProcessDto processDto)
-
-
Method Details
-
getItemFailureMessages
Line item error messages used to describe issues with individual fields, cart items, etc. For example, this may consist of map entries where the key is a cart item id (or name) & the value is an explanation of why the item is misconfigured.- Returns:
- Line item error messages used to describe issues with individual fields, cart items, etc.
-
getPaymentTransactionFailureDetails
A collection ofPaymentTransactionFailureDetails
describing how the transaction(s) failed.- Returns:
- A collection of
PaymentTransactionFailureDetails
describing how the transaction(s) failed.
-