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 Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTravelWebserviceException(String message, String subject) Instantiates a new TravelWebserviceException.protectedTravelWebserviceException(String message, String reason, String subject) Instantiates a new Travel webservice exception.protectedTravelWebserviceException(String message, String reason, String subject, String code) Instantiates a new Travel webservice exception.protectedTravelWebserviceException(String message, String reason, String subject, String code, Throwable cause) Instantiates a new Travel webservice exception.protectedTravelWebserviceException(String message, String subject, String code, Throwable cause) Instantiates a new TravelWebserviceException.protectedTravelWebserviceException(String message, String subject, Throwable cause) Instantiates a new TravelWebserviceException. -
Method Summary
Methods inherited from class de.hybris.platform.webservicescommons.errors.exceptions.WebserviceException
getReason, getSubject, getSubjectTypeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
REASON
- See Also:
-
TYPE
- See Also:
-
SUBJECT_TYPE
- See Also:
-
-
Constructor Details
-
TravelWebserviceException
Instantiates a new TravelWebserviceException.- Parameters:
message- the messagesubject- the subject
-
TravelWebserviceException
Instantiates a new Travel webservice exception.- Parameters:
message- the messagereason- the reasonsubject- the subject
-
TravelWebserviceException
Instantiates a new Travel webservice exception.- Parameters:
message- the messagereason- the reasonsubject- the subjectcode- the code
-
TravelWebserviceException
Instantiates a new TravelWebserviceException.- Parameters:
message- the messagereason- the reasonsubject- the subjectcode- the code
-
TravelWebserviceException
Instantiates a new TravelWebserviceException.- Parameters:
message- the messagesubject- the subjectcause- the cause
-
TravelWebserviceException
protected TravelWebserviceException(String message, String reason, String subject, String code, Throwable cause) Instantiates a new Travel webservice exception.- Parameters:
message- the messagereason- the reasonsubject- the subjectcode- the codecause- the cause
-
-
Method Details
-
getType
- Specified by:
getTypein classde.hybris.platform.webservicescommons.errors.exceptions.WebserviceException
-
getCode
Gets code.- Returns:
- the code
-