protected void handleError(int returnCode, NdbOperation ndbOperation) {
   if (returnCode == 0) {
     return;
   } else {
     Utility.throwError(returnCode, ndbOperation.getNdbError());
   }
 }
 protected static void handleError(Object object, NdbOperation ndbOperation) {
   if (object != null) {
     return;
   } else {
     Utility.throwError(null, ndbOperation.getNdbError());
   }
 }
Example #3
0
 private void handleError(Object object, NdbOperation ndbOperation) {
   if (object == null) {
     Utility.throwError(object, ndbOperation.getNdbError());
   }
 }