Class NodeSoftErrorException

All Implemented Interfaces:
com.alibaba.fastjson.serializer.JSONSerializable, IXfcException, IJsonLikeObject, IErrorResultData, Serializable

public final class NodeSoftErrorException extends WorkflowProcessingException implements IErrorResultData, IJsonLikeObject
Indicates that a soft error occurred during the execution of a workflow node. A soft error can be added when INodeHandler#execute completes normally. A soft error is similar to a warning that may indicate issues with the business logic. See ISuccessResultData#getSoftErrors for more details.
Since:
7.0.7
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • NodeSoftErrorException

      public NodeSoftErrorException(IDiscriminatedUnionMember<String,?> errorMember, String message)
      Creates a new exception with the given data for a soft error that occurred during execution of a node.
      Parameters:
      errorMember - Data made available by the node when the soft error occurs.
      message - Error message describing the error that occurred.
    • NodeSoftErrorException

      public NodeSoftErrorException(IDiscriminatedUnionMember<String,?> errorMember, String message, Throwable cause)
      Creates a new exception with the given data for a soft error that occurred during execution of a node.
      Parameters:
      errorMember - Data made available by the node when the soft error occurs.
      message - Error message describing the error that occurred.
      cause - Cause that resulted in this exception.
    • NodeSoftErrorException

      public NodeSoftErrorException(IDiscriminatedUnionMember<String,?> errorMember, Throwable cause)
      Creates a new exception with the given data for a soft error that occurred during execution of a node.
      Parameters:
      errorMember - Data made available by the node when the soft error occurs.
      cause - Cause that resulted in this exception.
  • Method Details