Class VirtualAttributeExecutionException

All Implemented Interfaces:
Serializable

public class VirtualAttributeExecutionException extends IntegrationAttributeProcessingException
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 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

      public LogicParams getScriptParameters()
      Retrieves parameters used by the script
      Returns:
      parameters that were passed to the script when it failed.
    • getExecutorContext

      public LogicExecutorContext getExecutorContext()
      Retrieves context of the failed LogicExecutor
      Returns:
      context used by the LogicExecutor that failed and caused this exception.