if (resultCode == ResultCode.UDF_BAD_RESPONSE) {
record = parseRecord(opCount, fieldCount, generation, expiration);
handleUdfError(resultCode);
}
throw new AerospikeException(resultCode);
}
if (opCount == 0) {
// Bin data was not returned.
record = new Record(null, null, generation, expiration);