Class ChangeFlightException

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

public class ChangeFlightException extends Exception
The Change Flight Exception to be thrown when an error response is retrieved from the external change solution request call.
See Also:
  • Field Details

  • Constructor Details

    • ChangeFlightException

      public ChangeFlightException()
      Default constructor
    • ChangeFlightException

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

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

      public ChangeFlightException(String message, String reason)
      Instantiates a new Travel cart entry exception.
      Parameters:
      message - the message
      reason - the reason
    • ChangeFlightException

      public ChangeFlightException(String message, String reason, Throwable cause)
      Instantiates a new Travel cart entry exception.
      Parameters:
      message - the message
      reason - the reason
      cause - the cause
    • ChangeFlightException

      public ChangeFlightException(String message, String reason, String subject)
      Instantiates a new Travel cart entry exception.
      Parameters:
      message - the message
      reason - the reason
    • ChangeFlightException

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

    • getReason

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

      public String getSubject()
      Gets subject.
      Returns:
      the reason