Class TravelCommerceCartModificationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.hybris.platform.servicelayer.exceptions.BusinessException
de.hybris.platform.commerceservices.order.CommerceCartModificationException
de.hybris.platform.travelservices.order.TravelCommerceCartModificationException
- All Implemented Interfaces:
Serializable
public class TravelCommerceCartModificationException
extends de.hybris.platform.commerceservices.order.CommerceCartModificationException
Exception contains an error reason and thrown if the cart cannot be modified.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTravelCommerceCartModificationException(String message, String reason, String subject) Instantiates a new TravelCommerceCartModificationException.TravelCommerceCartModificationException(String message, String reason, String subject, Throwable cause) Instantiates a new TravelCommerceCartModificationException. -
Method Summary
Modifier and TypeMethodDescriptionGets reason.Gets subject.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TravelCommerceCartModificationException
Instantiates a new TravelCommerceCartModificationException.- Parameters:
message- the messagereason- the reasonsubject- the subject
-
TravelCommerceCartModificationException
public TravelCommerceCartModificationException(String message, String reason, String subject, Throwable cause) Instantiates a new TravelCommerceCartModificationException.- Parameters:
message- the messagereason- the reasonsubject- the subjectcause- the cause
-
-
Method Details
-
getReason
Gets reason.- Returns:
- the reason
-
getSubject
Gets subject.- Returns:
- the subject
-