Class ItemSearchRequestValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.integrationservices.search.validation.ItemSearchRequestValidationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MissingRequestedItemException,MissingRequiredKeyAttributeValueException,NullItemSearchRequestException
An exception indicating that
ItemSearchRequest is not complete,
or contains contradicting conditions, or whatever else it might be, and therefore the item search was not performed.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates this exceptionItemSearchRequestValidationException(ItemSearchRequest request, String message) Instantiates this exception with a provided message explaining the validation error. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves item search request that failed validation.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ItemSearchRequestValidationException
Instantiates this exception- Parameters:
request- request that did not pass validation
-
ItemSearchRequestValidationException
Instantiates this exception with a provided message explaining the validation error.- Parameters:
request- a request that failed validationmessage- message explaining the validation problem
-
-
Method Details
-
getRejectedRequest
Retrieves item search request that failed validation.- Returns:
- request that was rejected for search by a
ItemSearchRequestValidator
-