Class CircularKeyReferenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.integrationservices.exception.IntegrationAttributeException
de.hybris.platform.integrationservices.exception.CircularKeyReferenceException
- All Implemented Interfaces:
Serializable
Indicates that an integration object item has a key defined so, that at least one of the key attribute references forms a
loop. For example, type A key depends on type B, which has a key attribute referring type A.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Instantiates this exception. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves integration item code, to which the loop is formed.Methods inherited from class de.hybris.platform.integrationservices.exception.IntegrationAttributeException
getAttributeDescriptor, getAttributeName, getIntegrationItemCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CircularKeyReferenceException
@Deprecated(since="2205", forRemoval=true) public CircularKeyReferenceException(IntegrationObjectItemAttributeModel attr) Deprecated, for removal: This API element is subject to removal in a future version.useCircularKeyReferenceException(TypeAttributeDescriptor)to avoid the attribute model conversion toTypeAttributeDescriptorInstantiates this exception.- Parameters:
attr- an invalid key attribute model
-
CircularKeyReferenceException
Instantiates this exception.- Parameters:
attr- attribute descriptor for the invalid key attribute
-
-
Method Details
-
getReferencedType
Retrieves integration item code, to which the loop is formed.- Returns:
- code of the integration item, to which the invalid attribute references.
-
CircularKeyReferenceException(TypeAttributeDescriptor)to avoid the attribute model conversion toTypeAttributeDescriptor