Class NodeReturnedException

    • Constructor Detail

      • NodeReturnedException

        @Deprecated
        public NodeReturnedException​(WorkflowNode node,
                                     Object alwaysValue,
                                     Object successValue,
                                     IWorkflowFileValue fileValue,
                                     List<NodeSoftErrorException> softErrors,
                                     String message)
        Deprecated.
        Use builder(WorkflowNode). Ideally, do not create instances directly, prefer using INodeExecutionParams.returningException().
        Creates a new exception that should be thrown when a node wishes to return.
        Parameters:
        node - The node that did return.
        alwaysValue - Data always provided by the node, regardless of how it completed.
        successValue - Data provided by the node when successful.
        fileValue - Files provided by the node.
        softErrors - Soft errors that occurred during the node's execution.
        message - Message why the note returned, usually empty.
      • NodeReturnedException

        @Deprecated
        public NodeReturnedException​(WorkflowNode node,
                                     Object alwaysValue,
                                     Object successValue,
                                     IWorkflowFileValue fileValue,
                                     List<NodeSoftErrorException> softErrors,
                                     String message,
                                     Throwable cause)
        Deprecated.
        Use builder(WorkflowNode). Ideally, do not create instances directly, prefer using INodeExecutionParams.returningException().
        Creates a new exception that should be thrown when a node wishes to return.
        Parameters:
        node - The node that did return.
        alwaysValue - Data always provided by the node, regardless of how it completed.
        successValue - Data provided by the node when successful.
        fileValue - Files provided by the node.
        softErrors - Soft errors that occurred during the node's execution.
        message - Message why the note returned, usually empty.
        cause - Cause that resulted in the node returning, usually null.
      • NodeReturnedException

        @Deprecated
        public NodeReturnedException​(WorkflowNode node,
                                     Object alwaysValue,
                                     Object successValue,
                                     IWorkflowFileValue fileValue,
                                     List<NodeSoftErrorException> softErrors,
                                     Throwable cause)
        Deprecated.
        Use builder(WorkflowNode). Ideally, do not create instances directly, prefer using INodeExecutionParams.returningException().
        Creates a new exception that should be thrown when a node wishes to return.
        Parameters:
        node - The node that did return.
        alwaysValue - Data always provided by the node, regardless of how it completed.
        successValue - Data provided by the node when successful.
        fileValue - Files provided by the node.
        softErrors - Soft errors that occurred during the node's execution.
        cause - Cause that resulted in the node returning, usually null.