Class VirtualAttributeExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.integrationservices.exception.IntegrationAttributeException
de.hybris.platform.integrationservices.exception.IntegrationAttributeProcessingException
de.hybris.platform.integrationservices.virtualattributes.VirtualAttributeExecutionException
- All Implemented Interfaces:
Serializable
Indicates a problem with execution of the script used in a virtual attribute configuration. This means that the attribute
configuration is valid, i.e. the script is found and loaded, but the script crashed during execution. The crash
may indicate a bug in the script or unexpected script parameter input, however after the script crashes at least
once it becomes disabled. Therefore correcting the payload or the data and repeating the request may not be sufficient.
The script may need to be re-enabled in the backoffice too.
See "Autodisabling of Model-Based Scripts" in https://help.sap.com/viewer/d0224eca81e249cb821f2cdf45a82ace/2005/en-US/8bec04a386691014938a9996a977d07f.html
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates this message with the specified context. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves context of the failedLogicExecutorRetrieves parameters used by the scriptMethods inherited from class de.hybris.platform.integrationservices.exception.IntegrationAttributeException
getAttributeDescriptor, getAttributeName, getIntegrationItemCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
VirtualAttributeExecutionException
public VirtualAttributeExecutionException(LogicExecutorContext c, LogicParams p, RuntimeException e) Instantiates this message with the specified context.- Parameters:
c- context for the failed execution.p- parameters passed to the script.e- intercepted original exception, which caused this exception to be thrown.
-
-
Method Details
-
getScriptParameters
Retrieves parameters used by the script- Returns:
- parameters that were passed to the script when it failed.
-
getExecutorContext
Retrieves context of the failedLogicExecutor- Returns:
- context used by the
LogicExecutorthat failed and caused this exception.
-