Class ChangeFlightException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.hybris.platform.shoppingservices.errors.exceptions.ChangeFlightException
- All Implemented Interfaces:
Serializable
The Change Flight Exception to be thrown when an error response is retrieved from the external change solution request call.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorChangeFlightException(String message) Instantiates a new ChangeFlightException.ChangeFlightException(String message, String reason) Instantiates a new Travel cart entry exception.ChangeFlightException(String message, String reason, String subject) Instantiates a new Travel cart entry exception.ChangeFlightException(String message, String reason, Throwable cause) Instantiates a new Travel cart entry exception.ChangeFlightException(String message, Throwable cause) Instantiates a new ChangeFlightException.ChangeFlightException(Throwable cause) Instantiates a new ChangeFlightException. -
Method Summary
Modifier and TypeMethodDescriptionGets reason.Gets subject.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
UNABLE_TO_CHANGE_FLIGHT_REASON
- See Also:
-
CHANGE_FLIGHT_AMENDED_CART_MISSING_REASON
- See Also:
-
MISSING_PASSENGER_ID_IN_REQUEST
- See Also:
-
INVALID_PASSENGER_ID_IN_REQUEST
- See Also:
-
INVALID_SOLUTION_ID
- See Also:
-
INVALID_FLIGHT_CODE
- See Also:
-
INVALID_FLIGHT_DEPARTURE_DATE
- See Also:
-
INVALID_REPRICER_TRAVELLER_REASON
- See Also:
-
SOLUTION_ID
- See Also:
-
PASSENGR_ID
- See Also:
-
FLIGHT_CODE
- See Also:
-
-
Constructor Details
-
ChangeFlightException
public ChangeFlightException()Default constructor -
ChangeFlightException
Instantiates a new ChangeFlightException.- Parameters:
message- the messagecause- the cause
-
ChangeFlightException
Instantiates a new ChangeFlightException.- Parameters:
message- the message
-
ChangeFlightException
Instantiates a new Travel cart entry exception.- Parameters:
message- the messagereason- the reason
-
ChangeFlightException
Instantiates a new Travel cart entry exception.- Parameters:
message- the messagereason- the reasoncause- the cause
-
ChangeFlightException
Instantiates a new Travel cart entry exception.- Parameters:
message- the messagereason- the reason
-
ChangeFlightException
Instantiates a new ChangeFlightException.- Parameters:
cause- the cause
-
-
Method Details
-
getReason
Gets reason.- Returns:
- the reason
-
getSubject
Gets subject.- Returns:
- the reason
-