Class VirtualAttributeConfigurationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- de.hybris.platform.integrationservices.exception.IntegrationAttributeException
-
- de.hybris.platform.integrationservices.virtualattributes.VirtualAttributeConfigurationException
-
- All Implemented Interfaces:
java.io.Serializable
public class VirtualAttributeConfigurationException extends IntegrationAttributeException
Indicates a problem related to a virtual attribute configuration. Such exceptions indicate persistent problems with retrieving/providing a specific virtual attribute values regardless of the specific contextItemModelor other changing factors, e.g. time of execution, permissions, etc. The problem is consistent and can be resolved only by changing the virtual attribute definition or descriptor.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VirtualAttributeConfigurationException(VirtualTypeAttributeDescriptor descriptor)Instantiates this exception with the provided descriptorVirtualAttributeConfigurationException(LogicExecutorContext c, java.lang.RuntimeException e)Instantiates this exception with the provided context.VirtualAttributeConfigurationException(LogicExecutorContext ctx, java.lang.String info)Instantiates this exception with the provided context and additional information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogicExecutorContextgetExecutorContext()Retrieves context of the failedLogicExecutor-
Methods inherited from class de.hybris.platform.integrationservices.exception.IntegrationAttributeException
getAttributeDescriptor, getAttributeName, getIntegrationItemCode
-
-
-
-
Constructor Detail
-
VirtualAttributeConfigurationException
public VirtualAttributeConfigurationException(LogicExecutorContext c, java.lang.RuntimeException e)
Instantiates this exception with the provided context.- Parameters:
c- context for the virtual attribute, that is mis-configured or became invalid over time.e- another exception related to the logic location, that caused this exception to be thrown.
-
VirtualAttributeConfigurationException
public VirtualAttributeConfigurationException(VirtualTypeAttributeDescriptor descriptor)
Instantiates this exception with the provided descriptor- Parameters:
descriptor- descriptor for virtual attribute that is mis-configured.
-
VirtualAttributeConfigurationException
public VirtualAttributeConfigurationException(LogicExecutorContext ctx, java.lang.String info)
Instantiates this exception with the provided context and additional information.- Parameters:
ctx- context for the virtual attribute, that is mis-configured or became invalid over time.info- additional information about the failure that is sensitive to be included in the message.
-
-
Method Detail
-
getExecutorContext
public LogicExecutorContext getExecutorContext()
Retrieves context of the failedLogicExecutor- Returns:
- context used by the
LogicExecutorthat failed and caused this exception.
-
-