Class CouponServiceWsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.webservicescommons.errors.exceptions.WebserviceException
de.hybris.platform.coreairlinecommonsocc.errors.exceptions.AirlineWebserviceException
de.hybris.platform.coreairlineocc.errors.exceptions.CouponServiceWsException
All Implemented Interfaces:
Serializable

@ResponseStatus(UNPROCESSABLE_ENTITY) public class CouponServiceWsException extends AirlineWebserviceException
The exception thrown when the coupon code is invalid.
See Also:
  • Field Details

  • Constructor Details

    • CouponServiceWsException

      public CouponServiceWsException(String code, Throwable cause)
      Instantiates a new Coupon service exception.
      Parameters:
      code - the code
      cause - the cause
  • Method Details

    • getType

      public String getType()
      Overrides:
      getType in class AirlineWebserviceException
    • getSubjectType

      public String getSubjectType()
      Specified by:
      getSubjectType in class de.hybris.platform.webservicescommons.errors.exceptions.WebserviceException