Class TravelCartEntryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.travelfacades.order.exceptions.TravelCartEntryException
- All Implemented Interfaces:
Serializable
The exception thrown when an operation is not possible on a cart entry
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTravelCartEntryException(String message) Instantiates a new Travel cart entry exception.TravelCartEntryException(String message, String reason) Instantiates a new Travel cart entry exception.TravelCartEntryException(String message, String reason, Throwable cause) Instantiates a new Travel cart entry exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
NO_SESSION_CART
- See Also:
-
ILLEGAL_ARGUMENT
- See Also:
-
PRODUCT_NOT_ELIGIBLE
- See Also:
-
PRODUCT_PART_OF_BUNDLE
- See Also:
-
CART_MODIFICATION_ERROR
- See Also:
-
PRODUCT_STOCK_NOT_AVAILABLE
- See Also:
-
CHANGE_FEE_ERROR
- See Also:
-
-
Constructor Details
-
TravelCartEntryException
Instantiates a new Travel cart entry exception.- Parameters:
message- the message
-
TravelCartEntryException
Instantiates a new Travel cart entry exception.- Parameters:
message- the messagereason- the reason
-
TravelCartEntryException
Instantiates a new Travel cart entry exception.- Parameters:
message- the messagereason- the reasoncause- the cause
-
-
Method Details
-
getReason
Gets reason.- Returns:
- the reason
-