Class TravelCommerceCartModificationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
de.hybris.platform.servicelayer.exceptions.BusinessException
de.hybris.platform.commerceservices.order.CommerceCartModificationException
de.hybris.platform.travelservices.order.TravelCommerceCartModificationException
All Implemented Interfaces:
Serializable

public class TravelCommerceCartModificationException extends de.hybris.platform.commerceservices.order.CommerceCartModificationException
Exception contains an error reason and thrown if the cart cannot be modified.
See Also:
  • Constructor Details

    • TravelCommerceCartModificationException

      public TravelCommerceCartModificationException(String message, String reason, String subject)
      Instantiates a new TravelCommerceCartModificationException.
      Parameters:
      message - the message
      reason - the reason
      subject - the subject
    • TravelCommerceCartModificationException

      public TravelCommerceCartModificationException(String message, String reason, String subject, Throwable cause)
      Instantiates a new TravelCommerceCartModificationException.
      Parameters:
      message - the message
      reason - the reason
      subject - the subject
      cause - the cause
  • Method Details

    • getReason

      public String getReason()
      Gets reason.
      Returns:
      the reason
    • getSubject

      public String getSubject()
      Gets subject.
      Returns:
      the subject