Beispiel #1
0
 static void checkStatus(long s) throws DBException {
   NativeStatus status = new NativeStatus(s);
   try {
     if (!status.isOk()) {
       throw new DBException(status.toString(), status.isNotFound());
     }
   } finally {
     status.delete();
   }
 }