Class MissingRequiredKeyAttributeValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.integrationservices.search.validation.ItemSearchRequestValidationException
de.hybris.platform.integrationservices.search.validation.MissingRequiredKeyAttributeValueException
- All Implemented Interfaces:
Serializable
Indicates that a required key attribute is not specified or has null value for searching an item by its
key.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMissingRequiredKeyAttributeValueException(ItemSearchRequest request, TypeAttributeDescriptor attribute) Instantiates this exception -
Method Summary
Modifier and TypeMethodDescriptionRetrieves attribute that failed validationMethods inherited from class de.hybris.platform.integrationservices.search.validation.ItemSearchRequestValidationException
getRejectedRequestMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MissingRequiredKeyAttributeValueException
public MissingRequiredKeyAttributeValueException(ItemSearchRequest request, TypeAttributeDescriptor attribute) Instantiates this exception- Parameters:
request- request rejected due to the validation failure.attribute- required key attribute that had no value in the request.
-
-
Method Details
-
getViolatedAttribute
Retrieves attribute that failed validation- Returns:
- a required key attribute that has no value in the request
-