Class CancelFlightException

java.lang.Object
java.lang.Throwable
java.lang.Exception
de.hybris.platform.shoppingservices.errors.exceptions.CancelFlightException
All Implemented Interfaces:
Serializable

public class CancelFlightException extends Exception
The Cancel Flight Exception to be thrown when an error occurs during the cancel flight from the cart.
See Also:
  • Field Details

  • Constructor Details

    • CancelFlightException

      public CancelFlightException()
      Default constructor
    • CancelFlightException

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

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

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

      public CancelFlightException(Throwable cause)
      Instantiates a new CancelFlightException.
      Parameters:
      cause - the cause
  • Method Details

    • getReason

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