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

public class InvalidRoomStayException extends RuntimeException
The exception thrown when room stay information is invalid.
See Also:
  • Constructor Details

    • InvalidRoomStayException

      public InvalidRoomStayException(String message)
      Instantiates a new Invalid room stay exception.
      Parameters:
      message - the message
    • InvalidRoomStayException

      public InvalidRoomStayException(String message, String reason)
      Instantiates a new Invalid room stay exception.
      Parameters:
      message - the message
      reason - the reason
  • Method Details

    • getReason

      public String getReason()
      Gets the reason
      Returns:
      the reason