Class InvalidOrderStatusException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.travelfacades.order.exceptions.InvalidOrderStatusException
All Implemented Interfaces:
Serializable

public class InvalidOrderStatusException extends RuntimeException
The exception thrown when the order is not in a valid status required for the requested operation.
See Also:
  • Field Details

  • Constructor Details

    • InvalidOrderStatusException

      public InvalidOrderStatusException(String message, Throwable cause)
      Instantiates a new Invalid order status exception.
      Parameters:
      message - the message
      cause - the cause
    • InvalidOrderStatusException

      public InvalidOrderStatusException()
      Instantiates a new Invalid order status exception.
    • InvalidOrderStatusException

      public InvalidOrderStatusException(String message)
      Instantiates a new Invalid order status exception.
      Parameters:
      message - the message
    • InvalidOrderStatusException

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

      public InvalidOrderStatusException(Throwable cause)
      Instantiates a new Invalid order status exception.
      Parameters:
      cause - the cause
    • InvalidOrderStatusException

      public InvalidOrderStatusException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
      Instantiates a new Invalid order status exception.
      Parameters:
      message - the message
      cause - the cause
      enableSuppression - the enable suppression
      writableStackTrace - the writable stack trace
  • Method Details

    • getReason

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