Class NodeSoftErrorException

All Implemented Interfaces:
com.alibaba.fastjson.serializer.JSONSerializable, de.xima.cmn.i18n.ILocalizedMessageProvider, 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

      @Deprecated public NodeSoftErrorException(IDiscriminatedUnionMember<?,?> 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

      @Deprecated public NodeSoftErrorException(IDiscriminatedUnionMember<?,?> 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

      @Deprecated public NodeSoftErrorException(IDiscriminatedUnionMember<?,?> 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.
    • NodeSoftErrorException

      public NodeSoftErrorException(String errorCode, Object errorValue, String message)
      Creates a new exception with the given data for a soft error that occurred during execution of a node.
      Parameters:
      errorCode - Error code raised by the node when the soft error occurs.
      errorValue - Data made available by the node when the soft error occurs.
      message - Error message describing the error that occurred.
      Since:
      8.5.0
    • NodeSoftErrorException

      public NodeSoftErrorException(String errorCode, Object errorValue, String message, Throwable cause)
      Creates a new exception with the given data for a soft error that occurred during execution of a node.
      Parameters:
      errorCode - Error code raised by the node when the soft error occurs.
      errorValue - 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.
      Since:
      8.5.0
    • NodeSoftErrorException

      public NodeSoftErrorException(String errorCode, Object errorValue, Throwable cause)
      Creates a new exception with the given data for a soft error that occurred during execution of a node.
      Parameters:
      errorCode - Error code raised by the node when the soft error occurs.
      errorValue - Data made available by the node when the soft error occurs.
      cause - Cause that resulted in this exception.
      Since:
      8.5.0
  • Method Details