getStatusType()
getStatusType() returns a status which is one of the three status type codes. The status indicates success or failure of the operation.
If all elements were successfully processed, it returns STATUS_OK. If one or more elements failed to be processed, it returns STATUS_ROW, and getErrorIndex() contains the indices of the failed element. If a failure not related to one or more elements in the input array occurs (e.g., the input array value is null), it returns STATUS_BATCH.
Syntax
public int getStatusType();
Returned Values
An integer value of statusType, which indicates one of the three status type codes:
STATUS_OK.
STATUS_ROW.
STATUS_BATCH.