docs: private EDBException runPreCommitHooks(EDBCommit commit) {
          EDBException exception = null;
          for (EDBPreCommitHook hook : preCommitHooks) {
              try {
                  hook.onPreCommit(commit);
              } catch (ServiceUnavailableException e) {
                  // Ignore
              } catch (EDBException e) {
                  exception = e;
                  break;
              } catch (Exception e) {
                  logger.error("Error while performing EDBPreCommitHook", e);
              }
          }
          return exception;
      }