Class IntegrationAttributeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- de.hybris.platform.integrationservices.exception.IntegrationAttributeException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CircularKeyReferenceException,IntegrationAttributeProcessingException,InvalidIntegrationKeyDefinitionException,MissingKeyReferencedAttributeValueException,VirtualAttributeConfigurationException
public abstract class IntegrationAttributeException extends java.lang.RuntimeExceptionIndicates any problem with an attribute definition for an integration object item or any invalid usage of an attribute.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IntegrationAttributeException(java.lang.String message, IntegrationObjectItemAttributeModel attr)Instantiates this exception.IntegrationAttributeException(java.lang.String message, TypeAttributeDescriptor descriptor)Instantiates this exceptionIntegrationAttributeException(java.lang.String message, TypeAttributeDescriptor descriptor, java.lang.Throwable cause)Instantiates this exception
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeAttributeDescriptorgetAttributeDescriptor()Retrieves descriptor of the attribute, for which this exception was thrown.java.lang.StringgetAttributeName()java.lang.StringgetIntegrationItemCode()
-
-
-
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 containsString.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,ioItemCodedescriptor- 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,ioItemCodedescriptor- 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
-
-