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, CheckoutRollbackException, CheckoutWorkflowException

public class CheckoutException extends RuntimeException
Thrown when an issue is encountered during the execution of a CheckoutWorkflow
Author:
Chris Kittrell (ckittrell)
See Also:
  • Constructor Details

  • Method Details

    • getCart

      public com.broadleafcommerce.cart.client.domain.Cart getCart()
      Convenient method to get the Cart from checkoutProcessDto.
      Returns:
      the Cart from checkoutProcessDto
    • getCheckoutProcessDto

      public CheckoutProcessDto getCheckoutProcessDto()
      The CheckoutProcessDto containing the details of the checkout where exception was thrown.
      Returns:
      The CheckoutProcessDto containing the details of the checkout where exception was thrown.
    • 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:
    • getAdditionalInfo

      public Map<String,Object> getAdditionalInfo()
      The map that can be used to specify the additional info for this exception.
      Returns:
      the map with additional info for this exception