Class ItemNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.integrationservices.search.ItemNotFoundException
- All Implemented Interfaces:
Serializable
Exception thrown when a single item search does not find an item.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates this exception for the specified item search request -
Method Summary
Modifier and TypeMethodDescriptionRetrieves integration key of the item that was searched.Retrieves info about the item searched.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ItemNotFoundException
Instantiates this exception for the specified item search request- Parameters:
item- sample of the item that was searched and was not found in the persistence storage.
-
-
Method Details
-
getRequestedItem
Retrieves info about the item searched.- Returns:
- presentation of the item being searched or
null, if this information is not available.
-
getIntegrationKey
Retrieves integration key of the item that was searched.- Returns:
- integration key value for the item to find.
-