docs: public byte[] getData(final String path, Watcher watcher, Stat stat)
              throws KeeperException, InterruptedException {
          verbotenThreadCheck();
          final String clientPath = path;
          PathUtils.validatePath(clientPath);
  
          // the watch contains the un-chroot path
          WatchRegistration wcb = null;
          if (watcher != null) {
              wcb = new DataWatchRegistration(watcher, clientPath);
          }
  
          final String serverPath = prependChroot(clientPath);
  
          RequestHeader h = new RequestHeader();
          h.setType(ZooDefs.OpCode.getData);
          GetDataRequest request = new GetDataRequest();
          request.setPath(serverPath);
          request.setWatch(watcher != null);
          GetDataResponse response = new GetDataResponse();
          ReplyHeader r = cnxn.submitRequest(h, request, response, wcb);
          if (r.getErr() != 0) {
              throw KeeperException.create(KeeperException.Code.get(r.getErr()),
                      clientPath);
          }
          if (stat != null) {
              DataTree.copyStat(response.getStat(), stat);
          }
          return response.getData();
      }