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