Class IntegrationObjectAndItemMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.integrationservices.service.IntegrationObjectAndItemMismatchException
- All Implemented Interfaces:
Serializable
Indicates that a data item does not match the specified integration object model. This happens for example, when
the data item needs to be converted to or from the integration object payload.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.This will return the payload object according to the integration object specs.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IntegrationObjectAndItemMismatchException
@Deprecated(since="2211.FP1", forRemoval=true) public IntegrationObjectAndItemMismatchException(ItemModel item, IntegrationObjectDescriptor io) Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
item- of typeItemModelio-IntegrationObjectDescriptor
-
IntegrationObjectAndItemMismatchException
- Parameters:
payload- POJO orItemModelio-IntegrationObjectDescriptor
-
-
Method Details
-
getDataItem
Deprecated, for removal: This API element is subject to removal in a future version. -
getPayloadObject
This will return the payload object according to the integration object specs. It can be traditionalItemModelor any POJO.- Returns:
- the payload object.
-
getIntegrationObject
-
IntegrationObjectAndItemMismatchException(Object, IntegrationObjectDescriptor)instead