Class CancelFlightException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.hybris.platform.shoppingservices.errors.exceptions.CancelFlightException
- All Implemented Interfaces:
Serializable
The Cancel Flight Exception to be thrown when an error occurs during the cancel flight from the cart.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCancelFlightException(String message) Instantiates a new CancelFlightException.CancelFlightException(String message, String reason) Instantiates a new CancelFlightException.CancelFlightException(String message, Throwable cause) Instantiates a new CancelFlightException.CancelFlightException(Throwable cause) Instantiates a new CancelFlightException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
CANCEL_FLIGHT_NOT_ALLOWED
- See Also:
-
INVALID_REFUND_AMOUNT
- See Also:
-
-
Constructor Details
-
CancelFlightException
public CancelFlightException()Default constructor -
CancelFlightException
Instantiates a new CancelFlightException.- Parameters:
message- the messagecause- the cause
-
CancelFlightException
Instantiates a new CancelFlightException.- Parameters:
message- the message
-
CancelFlightException
Instantiates a new CancelFlightException.- Parameters:
message- the messagereason- the reason
-
CancelFlightException
Instantiates a new CancelFlightException.- Parameters:
cause- the cause
-
-
Method Details
-
getReason
Gets reason.- Returns:
- the reason
-