Uploaded image for project: 'Common Controller SDK'
  1. Common Controller SDK
  2. CCSDK-609

throw an exception if graph isnt found when executing call node

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Medium Medium
    • Casablanca Release
    • None
    • sli/core
    • None

      if a graph is not found while executing a call node throw an exception if there is no catch block. A catch block here means an outcome with the value "catch" attached to the call node.

      In diagram one if the called graph cannot be found no exception is thrown because there is a connected catch block. The record node will execute, the graph will continue executing and execute the execute block.

      In diagram two if the called graph cannot be found a SvcLogicException will be thrown. Execution will not continue, the execute block will not be executed.

        1. diag1.png
          diag1.png
          9 kB
        2. diag2.png
          diag2.png
          10 kB

            nullop nullop
            nullop nullop
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: