Class RemovePassengerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.shoppingservices.errors.exceptions.RemovePassengerException
- All Implemented Interfaces:
Serializable
The exception thrown when an error occurs during removal of passengers.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRemovePassengerException(String message, String reason) Instantiates a new Remove passenger exception.RemovePassengerException(String message, String reason, Throwable cause) Instantiates a new Remove passenger 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
-
ONE_ADULT_REQUIRED
- See Also:
-
MISSING_PASSENGER_ID
- See Also:
-
INVALID_USER
- See Also:
-
REMOVE_PASSENGER_NOT_ALLOWED
- See Also:
-
-
Constructor Details
-
RemovePassengerException
Instantiates a new Remove passenger exception.- Parameters:
message- the messagereason- the reason
-
RemovePassengerException
Instantiates a new Remove passenger exception.- Parameters:
message- the messagereason- the reasoncause- the cause
-
-
Method Details
-
getReason
Gets reason.- Returns:
- the reason
-