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

public abstract class IntegrationAttributeException extends RuntimeException
Indicates any problem with an attribute definition for an integration object item or any invalid usage of an attribute.
See Also:
  • 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.
      use IntegrationAttributeException(String, TypeAttributeDescriptor) instead to avoid conversion of the IntegrationObjectItemAttributeModel to TypeAttributeDescriptor
      Instantiates this exception.
      Parameters:
      message - a message to be used for this exception. If the message contains String.format(String, Object...)} parameter placeholders, then they will be replaced in this order: attributeName, integration object item code.
      attr - an invalid attribute
    • IntegrationAttributeException

      protected IntegrationAttributeException(String message, TypeAttributeDescriptor descriptor)
      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, ioItemCode
      descriptor - 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, ioItemCode
      descriptor - descriptor of the attribute, for which the exception is thrown.
      cause - an intercepted exception that caused this exception to be thrown
  • Method Details

    • getAttributeName

      public String getAttributeName()
    • getIntegrationItemCode

      public String getIntegrationItemCode()
    • getAttributeDescriptor

      public TypeAttributeDescriptor getAttributeDescriptor()
      Retrieves descriptor of the attribute, for which this exception was thrown.
      Returns:
      descriptor of the failed attribute