Class BookingCancelException

java.lang.Object
java.lang.Throwable
java.lang.Exception
de.hybris.platform.travelservices.exceptions.BookingCancelException
All Implemented Interfaces:
Serializable

public class BookingCancelException extends Exception
The exception thrown when the order cancel is failed.
See Also:
  • Field Details

  • Constructor Details

    • BookingCancelException

      public BookingCancelException(String message)
      Instantiates a new OrderCancelException.
      Parameters:
      message - the message
    • BookingCancelException

      public BookingCancelException(String message, String reason)
      Instantiates a new OrderCancelException.
      Parameters:
      message - the message
      reason - the reason
    • BookingCancelException

      public BookingCancelException(String message, Throwable cause)
      Instantiates a new OrderCancelException.
      Parameters:
      message - the message
      cause - the cause
    • BookingCancelException

      public BookingCancelException(String message, String reason, Throwable cause)
      Instantiates a new OrderCancelException.
      Parameters:
      message - the message
      reason - the reason
      cause - the cause
  • Method Details

    • getReason

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