Class TravelCartValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.travelfacades.order.exceptions.TravelCartValidationException
- All Implemented Interfaces:
Serializable
The exception thrown when a cart is invalid
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionTravelCartValidationException(String message, String reason) Instantiates a new TravelCartValidationException.TravelCartValidationException(String message, String reason, Throwable cause) Instantiates a new TravelCartValidationException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
CART_RECALCULATION_REQUIRED
- See Also:
-
INVALID_LEAD_GUEST_DETAILS
- See Also:
-
CALCULATION_ERROR
- See Also:
-
INVALID_CART_ENTRIES
- See Also:
-
MISSING_BILLING_ADDRESS
- See Also:
-
INVALID_PAYMENT_INFO
- See Also:
-
MISSING_PAYMENT_INFO
- See Also:
-
TRAVEL_ROUTE_NOT_IN_CART
- See Also:
-
INVALID_PRICE
- See Also:
-
TRANSPORT_OFFERING_IN_PAST
- See Also:
-
MISSING_JOURNEYS
- See Also:
-
TRANSPORT_OFFERING_NOT_IN_CART
- See Also:
-
INVALID_TRANSPORT_OFFERING_STATUS
- See Also:
-
INVALID_TRANSPORT_OFFERING
- See Also:
-
FARE_PRODUCT_NOT_AVAILABLE
- See Also:
-
MISSED_TRAVELLER_INFORMATION
- See Also:
-
TRANSPORT_OFFERING_NOT_IN_SYSTEM
- See Also:
-
INVALID_DEAL_DEPARTURE_DATE
- See Also:
-
INVALID_ORIGIN_DESTINATION_GROUP
- See Also:
-
INVALID_ORIGIN_DESTINATION_SIZE
- See Also:
-
NO_TRAVELLERS
- See Also:
-
NO_ADULTS
- See Also:
-
NO_SESSION_CART
- See Also:
-
EMPTY_CART
- See Also:
-
-
Constructor Details
-
TravelCartValidationException
Instantiates a new TravelCartValidationException.- Parameters:
message- the messagereason- the reason
-
TravelCartValidationException
Instantiates a new TravelCartValidationException.- Parameters:
message- the messagereason- the reasoncause- the cause
-
-
Method Details
-
getReason
Gets reason.- Returns:
- the reason
-