Class NodeReturnedException

All Implemented Interfaces:
de.xima.cmn.i18n.ILocalizedMessageProvider, IXfcException, IBaseCompletionResult, IReturningCompletionResult, ISuccessResultData, Serializable

public final class NodeReturnedException extends AbstractSuccessAbruptCompletionException implements IReturningCompletionResult
Used by a node to indicate that the node completed abruptly by issuing a return statement.
Since:
7.0.0
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • 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.
  • Method Details