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:
java.io.Serializable
public class MissingRequiredKeyAttributeValueException extends ItemSearchRequestValidationException
Indicates that a required key attribute is not specified or has null value for searching an item by its key.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MissingRequiredKeyAttributeValueException(ItemSearchRequest request, TypeAttributeDescriptor attribute)Instantiates this exception
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeAttributeDescriptorgetViolatedAttribute()Retrieves attribute that failed validation-
Methods inherited from class de.hybris.platform.integrationservices.search.validation.ItemSearchRequestValidationException
getRejectedRequest
-
-
-
-
Constructor Detail
-
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 Detail
-
getViolatedAttribute
public TypeAttributeDescriptor getViolatedAttribute()
Retrieves attribute that failed validation- Returns:
- a required key attribute that has no value in the request
-
-