Class CheckoutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.broadleafcommerce.cartoperation.exception.CheckoutException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CartFinalizationException
,CheckoutCompletionMessageException
,CheckoutWorkflowException
public class CheckoutException extends RuntimeException
Thrown when an issue is encountered during the execution of aCheckoutWorkflow
- Author:
- Chris Kittrell (ckittrell)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CheckoutException(String failureType, String message, com.broadleafcommerce.cart.client.domain.Cart cart)
CheckoutException(String failureType, String message, Throwable cause, com.broadleafcommerce.cart.client.domain.Cart cart)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getAdditionalInfo()
The map that can be used to specify the additional info for this exception.com.broadleafcommerce.cart.client.domain.Cart
getCart()
The cart whose checkout is being finalized.String
getFailureType()
The category of workflow failure that caused this exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getCart
public com.broadleafcommerce.cart.client.domain.Cart getCart()
The cart whose checkout is being finalized.- Returns:
- The cart whose checkout is being finalized.
-
getFailureType
public String getFailureType()
The category of workflow failure that caused this exception.- Returns:
- The category of workflow failure that caused this exception.
- See Also:
CheckoutFailureType
-
-