Class IntegrationAttributeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.integrationservices.exception.IntegrationAttributeException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CircularKeyReferenceException,IntegrationAttributeProcessingException,LocalizedKeyAttributeException,MissingKeyReferencedAttributeValueException,VirtualAttributeConfigurationException
Indicates any problem with an attribute definition for an integration object item or any invalid usage of an attribute.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeprecated, for removal: This API element is subject to removal in a future version.protectedIntegrationAttributeException(String message, TypeAttributeDescriptor descriptor) Instantiates this exceptionprotectedIntegrationAttributeException(String message, TypeAttributeDescriptor descriptor, Throwable cause) Instantiates this exception -
Method Summary
Modifier and TypeMethodDescriptionRetrieves descriptor of the attribute, for which this exception was thrown.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IntegrationAttributeException
@Deprecated(since="2205", forRemoval=true) protected IntegrationAttributeException(String message, IntegrationObjectItemAttributeModel attr) Deprecated, for removal: This API element is subject to removal in a future version.useIntegrationAttributeException(String, TypeAttributeDescriptor)instead to avoid conversion of theIntegrationObjectItemAttributeModeltoTypeAttributeDescriptorInstantiates this exception.- Parameters:
message- a message to be used for this exception. If the message containsString.format(String, Object...)} parameter placeholders, then they will be replaced in this order: attributeName, integration object item code.attr- an invalid attribute
-
IntegrationAttributeException
Instantiates this exception- Parameters:
message- a message to be used for this exception. If this message contains format parameter placeholders, e.g."%s", then the message will be used as a template and the placeholders will be replaced in this order:attributeName,ioItemCodedescriptor- descriptor of the attribute, for which the exception is thrown.
-
IntegrationAttributeException
protected IntegrationAttributeException(String message, TypeAttributeDescriptor descriptor, Throwable cause) Instantiates this exception- Parameters:
message- a message to be used for this exception. If this message contains format parameter placeholders, e.g."%s", then the message will be used as a template and the placeholders will be replaced in this order:attributeName,ioItemCodedescriptor- descriptor of the attribute, for which the exception is thrown.cause- an intercepted exception that caused this exception to be thrown
-
-
Method Details
-
getAttributeName
-
getIntegrationItemCode
-
getAttributeDescriptor
Retrieves descriptor of the attribute, for which this exception was thrown.- Returns:
- descriptor of the failed attribute
-
IntegrationAttributeException(String, TypeAttributeDescriptor)instead to avoid conversion of theIntegrationObjectItemAttributeModeltoTypeAttributeDescriptor