Class IntegrationAttributeException

    • Constructor Detail

      • IntegrationAttributeException

        public IntegrationAttributeException​(java.lang.String message,
                                             IntegrationObjectItemAttributeModel attr)
        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

        public IntegrationAttributeException​(java.lang.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

        public IntegrationAttributeException​(java.lang.String message,
                                             TypeAttributeDescriptor descriptor,
                                             java.lang.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 Detail

      • getAttributeName

        public java.lang.String getAttributeName()
      • getIntegrationItemCode

        public java.lang.String getIntegrationItemCode()
      • getAttributeDescriptor

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