Class TravelWebserviceException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.webservicescommons.errors.exceptions.WebserviceException
de.hybris.platform.coretravelcommonsocc.errors.exceptions.TravelWebserviceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AccommodationOfferingNotFoundWsException, AddDealToCartMissingBoundWsException, AddRoomStayToCartWsException, AddSeatInvalidCabinWsException, AddSeatNotAvailableWsException, AddSeatTransportOfferingNotInCartWsException, AddSeatTravellerNotEligibleWsException, AddSeatTravellerNotInCartWsException, AddServiceToCartWsException, AddTransportBundleToCartWsException, AddTravellersToCartWsException, AncillaryProductNotFoundWsException, BoundIdNotFoundWsException, BoundIdNotInCartWsException, CartEntryWsException, CartModificationWsException, CartNotEmptyWsException, CartNotFoundWsException, CartValidationWsException, CartWsException, DateMismatchedWsException, DuplicatedOriginDestWsException, DuplicatedPtcWsException, EntryNotActiveWsException, IllegalArgumentWsException, InternalErrorWsException, InvalidAccommodationWsException, InvalidBundleTemplateWsException, InvalidCartPriceWsException, InvalidConsentRequestWsException, InvalidCurrencyWsException, InvalidDateWsException, InvalidDestinationLocationWsException, InvalidFareProductCodeWsException, InvalidOriginDestinationWsException, InvalidPageParameterWsException, InvalidPtcCodeWsException, InvalidRatePlanDateWsException, InvalidRatePlanWsException, InvalidReservationWsException, InvalidRoomStayWsException, InvalidRouteWsException, InvalidSavedSearchWsException, InvalidSessionCartWsException, InvalidSessionCartWsException, InvalidSpecialServiceRequestWsException, InvalidTransportCatalogWsException, InvalidTransportOfferingCodesWsException, InvalidTransportOfferingRouteWsException, InvalidTravellerProfileWsException, InvalidTravellerQuantityWsException, MaximumQuantityExceededWsException, MissingPassengerInformationWsException, NoAdultWsException, NoAdultWsException, NoSupportedCurrencyFoundWsException, NoTravellersInCartWsException, OrderNotFoundWsException, OrderWsException, PlaceOrderWsException, ProductNotEligibleWsException, ProductNotFoundWsException, ProductPartOfBundleWsException, ProductStockNotAvailableWsException, ProductTravelRestrictionWsException, RemoveAncillaryEntryWsException, RemoveRoomStayWsException, RemoveTravellerWsException, RequestParameterWsException, ReservationDetailsDeniedWsException, SaveAddressWsException, SpecialRequestWsException, TransportOfferingInThePastWsException, TransportOfferingsNotInCartWsException, TravellerAlreadyCheckedInWsException, TravellerNotEligibleForTransportOfferingInCartWsException, TravellersQuantityExceedWsException, UnknownIdentifierWsException, UnknownResourceWsException, UnprocessableAccommodationWsException, UnprocessableRequestParameterWsException, UnsupportedCurrencyWsException, UnsupportedLanguageWsException, UnsupportedRequestWsException, UnsupportedSalesApplicationWsException, UpdateAncillaryEntryWsException, UpdateServiceToCartWsException, UserWsException

public abstract class TravelWebserviceException extends de.hybris.platform.webservicescommons.errors.exceptions.WebserviceException
The abstract travel webservice exception which sets the error code
See Also:
  • Field Details

  • Constructor Details

    • TravelWebserviceException

      protected TravelWebserviceException(String message, String subject)
      Instantiates a new TravelWebserviceException.
      Parameters:
      message - the message
      subject - the subject
    • TravelWebserviceException

      protected TravelWebserviceException(String message, String reason, String subject)
      Instantiates a new Travel webservice exception.
      Parameters:
      message - the message
      reason - the reason
      subject - the subject
    • TravelWebserviceException

      protected TravelWebserviceException(String message, String reason, String subject, String code)
      Instantiates a new Travel webservice exception.
      Parameters:
      message - the message
      reason - the reason
      subject - the subject
      code - the code
    • TravelWebserviceException

      protected TravelWebserviceException(String message, String subject, String code, Throwable cause)
      Instantiates a new TravelWebserviceException.
      Parameters:
      message - the message
      reason - the reason
      subject - the subject
      code - the code
    • TravelWebserviceException

      protected TravelWebserviceException(String message, String subject, Throwable cause)
      Instantiates a new TravelWebserviceException.
      Parameters:
      message - the message
      subject - the subject
      cause - the cause
    • TravelWebserviceException

      protected TravelWebserviceException(String message, String reason, String subject, String code, Throwable cause)
      Instantiates a new Travel webservice exception.
      Parameters:
      message - the message
      reason - the reason
      subject - the subject
      code - the code
      cause - the cause
  • Method Details

    • getType

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

      public String getCode()
      Gets code.
      Returns:
      the code