Class InvalidRoomStayException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.travelfacades.order.exceptions.InvalidRoomStayException
- All Implemented Interfaces:
Serializable
The exception thrown when room stay information is invalid.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidRoomStayException(String message) Instantiates a new Invalid room stay exception.InvalidRoomStayException(String message, String reason) Instantiates a new Invalid room stay exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidRoomStayException
Instantiates a new Invalid room stay exception.- Parameters:
message- the message
-
InvalidRoomStayException
Instantiates a new Invalid room stay exception.- Parameters:
message- the messagereason- the reason
-
-
Method Details
-
getReason
Gets the reason- Returns:
- the reason
-