Class AbstractAttributeAutoCreateOrPartOfException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.hybris.platform.servicelayer.exceptions.BusinessException
de.hybris.platform.servicelayer.interceptor.InterceptorException
de.hybris.platform.integrationservices.exception.AbstractAttributeAutoCreateOrPartOfException
- All Implemented Interfaces:
Serializable
An exception that occurs when attempting to save an integration object with an abstract attribute that is autoCreate or partOf.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractAttributeAutoCreateOrPartOfException(String typeCode, String attributeName, Interceptor inter) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionThe name of the attribute causing the exception.The type of the integration object item of the attribute causing the exception.Methods inherited from class de.hybris.platform.servicelayer.interceptor.InterceptorException
getInterceptor, getMessage, setInterceptorMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AbstractAttributeAutoCreateOrPartOfException
public AbstractAttributeAutoCreateOrPartOfException(String typeCode, String attributeName, Interceptor inter) Default constructor.- Parameters:
typeCode- the type of the integration object item the attribute belongs to.attributeName- the attribute's name.inter- the interceptor that validated the attribute.
-
-
Method Details
-
getTypeCode
The type of the integration object item of the attribute causing the exception.- Returns:
- the type of the integration object item.
-
getAttributeName
The name of the attribute causing the exception.- Returns:
- the name of the attribute.
-