Class CheckoutWorkflowActivityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.broadleafcommerce.cartoperation.exception.CheckoutWorkflowActivityException
- All Implemented Interfaces:
Serializable
Thrown when an issue is encountered during the execution of a
CheckoutWorkflowActivity
- Author:
- Chris Kittrell (ckittrell)
- See Also:
-
Constructor Summary
ConstructorDescriptionCheckoutWorkflowActivityException
(String failureType, String failureMessage, CheckoutProcessDto checkoutProcessDto) CheckoutWorkflowActivityException
(String failureType, String failureMessage, CheckoutProcessDto checkoutProcessDto, List<PaymentTransactionFailureDetail> paymentTransactionFailureDetails) CheckoutWorkflowActivityException
(String failureType, String failureMessage, Throwable cause, CheckoutProcessDto checkoutProcessDto) CheckoutWorkflowActivityException
(String failureType, String failureMessage, Throwable cause, CheckoutProcessDto checkoutProcessDto, List<PaymentTransactionFailureDetail> paymentTransactionFailureDetails) CheckoutWorkflowActivityException
(String failureType, String failureMessage, Map<String, String> itemFailureMessages, CheckoutProcessDto checkoutProcessDto) -
Method Summary
Modifier and TypeMethodDescriptionThe map that can be used to specify the additional info for this exception.com.broadleafcommerce.cart.client.domain.Cart
getCart()
Convenient method to get theCart
fromcheckoutProcessDto
.TheCheckoutProcessDto
being processed in the activity.The category of workflow failure that caused this exception.Line 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 java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CheckoutWorkflowActivityException
public CheckoutWorkflowActivityException(String failureType, String failureMessage, CheckoutProcessDto checkoutProcessDto) -
CheckoutWorkflowActivityException
public CheckoutWorkflowActivityException(String failureType, String failureMessage, Throwable cause, CheckoutProcessDto checkoutProcessDto) -
CheckoutWorkflowActivityException
-
CheckoutWorkflowActivityException
public CheckoutWorkflowActivityException(String failureType, String failureMessage, CheckoutProcessDto checkoutProcessDto, List<PaymentTransactionFailureDetail> paymentTransactionFailureDetails) -
CheckoutWorkflowActivityException
public CheckoutWorkflowActivityException(String failureType, String failureMessage, Throwable cause, CheckoutProcessDto checkoutProcessDto, List<PaymentTransactionFailureDetail> paymentTransactionFailureDetails)
-
-
Method Details
-
getCart
public com.broadleafcommerce.cart.client.domain.Cart getCart()Convenient method to get theCart
fromcheckoutProcessDto
.- Returns:
- the
Cart
fromcheckoutProcessDto
-
getCheckoutProcessDto
TheCheckoutProcessDto
being processed in the activity.- Returns:
- The
CheckoutProcessDto
being processed in the activity.
-
getFailureType
The category of workflow failure that caused this exception.- Returns:
- The category of workflow failure that caused this exception.
- See Also:
-
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.
-
getAdditionalInfo
The map that can be used to specify the additional info for this exception.- Returns:
- the map with additional info for this exception
-
getPaymentTransactionFailureDetails
A collection ofPaymentTransactionFailureDetails
describing how the transaction(s) failed.- Returns:
- A collection of
PaymentTransactionFailureDetails
describing how the transaction(s) failed.
-