java.lang.Object
com.broadleafcommerce.common.error.ApiError
com.broadleafcommerce.cartoperation.web.endpoint.exception.StaleCartApiError

public final class StaleCartApiError extends com.broadleafcommerce.common.error.ApiError
An API Error due to a stale cart. See StaleCartException.
Author:
Jacob Mitash
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.broadleafcommerce.common.error.ApiError

    com.broadleafcommerce.common.error.ApiError.StatusConverter
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    boolean
     
    com.broadleafcommerce.cart.client.domain.Cart
     
    int
     
     

    Methods inherited from class com.broadleafcommerce.common.error.ApiError

    addError, getException, getGlobalErrors, getStatus, getStatusCode, getTimestamp, getTitle, getType, setException, setTimestamp, toResponseEntity, withException, withGlobalErrors, withStatus, withStatusCode, withTimestamp, withTitle, withType

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • getNewCart

      public com.broadleafcommerce.cart.client.domain.Cart getNewCart()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class com.broadleafcommerce.common.error.ApiError