Class OrderCancelDeniedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.hybris.platform.travelservices.ordercancel.exceptions.OrderCancelDeniedException
- All Implemented Interfaces:
Serializable
The exception thrown when the order cancel is denied.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOrderCancelDeniedException(String message, String reason) Instantiates a new OrderCancelDeniedException. -
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_ORDER_STATUS
- See Also:
-
INVALID_USER
- See Also:
-
NO_ACTIVE_ENTRIES
- See Also:
-
NO_ENTRIES_FOR_CANCEL
- See Also:
-
-
Constructor Details
-
OrderCancelDeniedException
Instantiates a new OrderCancelDeniedException.- Parameters:
message- the messagereason- the reason
-
-
Method Details
-
getReason
Gets reason.- Returns:
- the reason
-