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
The exception thrown when product added into cart, the quantity selected for this product is not allowed by the product restrictions.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new product travel restriction exception.ProductTravelRestrictionException(String message) Instantiates a new product travel restriction exception.ProductTravelRestrictionException(String message, Throwable cause) Instantiates a new product travel restriction exception.ProductTravelRestrictionException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Instantiates a new product travel restriction exception.Instantiates a new product travel restriction exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProductTravelRestrictionException
public ProductTravelRestrictionException()Instantiates a new product travel restriction exception. -
ProductTravelRestrictionException
Instantiates a new product travel restriction exception.- Parameters:
message- the message
-
ProductTravelRestrictionException
Instantiates a new product travel restriction exception.- Parameters:
message- the messagecause- the cause
-
ProductTravelRestrictionException
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 messagecause- the causeenableSuppression- the enable suppressionwritableStackTrace- the writable stack trace
-