Class BookingCancelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.hybris.platform.travelservices.exceptions.BookingCancelException
- All Implemented Interfaces:
Serializable
The exception thrown when the order cancel is failed.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBookingCancelException(String message) Instantiates a new OrderCancelException.BookingCancelException(String message, String reason) Instantiates a new OrderCancelException.BookingCancelException(String message, String reason, Throwable cause) Instantiates a new OrderCancelException.BookingCancelException(String message, Throwable cause) Instantiates a new OrderCancelException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
INVALID_USER
- See Also:
-
ORDER_VALIDATION_ERROR
- See Also:
-
INVALID_ORDER_STATUS
- See Also:
-
-
Constructor Details
-
BookingCancelException
Instantiates a new OrderCancelException.- Parameters:
message- the message
-
BookingCancelException
Instantiates a new OrderCancelException.- Parameters:
message- the messagereason- the reason
-
BookingCancelException
Instantiates a new OrderCancelException.- Parameters:
message- the messagecause- the cause
-
BookingCancelException
Instantiates a new OrderCancelException.- Parameters:
message- the messagereason- the reasoncause- the cause
-
-
Method Details
-
getReason
Gets reason.- Returns:
- the reason
-