TmResult()
TmResult() constructs a TmResult object.
Syntax
TmResult();
Note
For useful information about the TmResult Class and an explanation of how its methods are used to enable the Smart Check feature, see [TmResult Class].
Variables
public static final int STATUS_OK = 0;
Indicates that there were no errors during processing.public static final int STATUS_BATCH = 1;
Indicates that there was a batch-level error.public static final int STATUS_ROW = 2;
Indicates that there was a row-level error.
Associated CT-V Behavior and Results
If there is no error at any level, the output array is delivered as expected.
If there is an error at the batch level, TmResult indicates failure - a batch error message is returned, the process fails, and no output tokens are delivered.
If there are errors at the row level, the resulting array is delivered as expected, except that any row containing invalid data has been set to null. A message is returned with error data.