Class ProductTravelRestrictionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.travelfacades.order.exceptions.ProductTravelRestrictionException
All Implemented Interfaces:
Serializable

public class ProductTravelRestrictionException extends RuntimeException
The exception thrown when product added into cart, the quantity selected for this product is not allowed by the product restrictions.
See Also:
  • Constructor Details

    • ProductTravelRestrictionException

      public ProductTravelRestrictionException()
      Instantiates a new product travel restriction exception.
    • ProductTravelRestrictionException

      public ProductTravelRestrictionException(String message)
      Instantiates a new product travel restriction exception.
      Parameters:
      message - the message
    • ProductTravelRestrictionException

      public ProductTravelRestrictionException(String message, Throwable cause)
      Instantiates a new product travel restriction exception.
      Parameters:
      message - the message
      cause - the cause
    • ProductTravelRestrictionException

      public ProductTravelRestrictionException(Throwable cause)
      Instantiates a new product travel restriction exception.
      Parameters:
      cause - the cause
    • ProductTravelRestrictionException

      public ProductTravelRestrictionException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
      Instantiates a new product travel restriction exception.
      Parameters:
      message - the message
      cause - the cause
      enableSuppression - the enable suppression
      writableStackTrace - the writable stack trace