Class InvalidOrderStatusException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.travelfacades.order.exceptions.InvalidOrderStatusException
- All Implemented Interfaces:
Serializable
The exception thrown when the order is not in a valid status required for the requested operation.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new Invalid order status exception.InvalidOrderStatusException(String message) Instantiates a new Invalid order status exception.InvalidOrderStatusException(String message, String reason) Instantiates a new InvalidOrderStatusException.InvalidOrderStatusException(String message, Throwable cause) Instantiates a new Invalid order status exception.InvalidOrderStatusException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Instantiates a new Invalid order status exception.Instantiates a new Invalid order status 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
-
INVALID_ORDER_STATUS
- See Also:
-
-
Constructor Details
-
InvalidOrderStatusException
Instantiates a new Invalid order status exception.- Parameters:
message- the messagecause- the cause
-
InvalidOrderStatusException
public InvalidOrderStatusException()Instantiates a new Invalid order status exception. -
InvalidOrderStatusException
Instantiates a new Invalid order status exception.- Parameters:
message- the message
-
InvalidOrderStatusException
Instantiates a new InvalidOrderStatusException.- Parameters:
message- the messagereason- the reason
-
InvalidOrderStatusException
Instantiates a new Invalid order status exception.- Parameters:
cause- the cause
-
InvalidOrderStatusException
public InvalidOrderStatusException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Instantiates a new Invalid order status exception.- Parameters:
message- the messagecause- the causeenableSuppression- the enable suppressionwritableStackTrace- the writable stack trace
-
-
Method Details
-
getReason
Gets reason.- Returns:
- the reason
-