protected void handleError(int returnCode, NdbTransaction ndbTransaction) {
if (returnCode == 0) {
return;
} else {
NdbErrorConst ndbError = ndbTransaction.getNdbError();
if (ndbError.code() == 0) {
return;
}
String detail = db.getNdbErrorDetail(ndbError);
Utility.throwError(returnCode, ndbError, detail);
}