docs: public Stat setData(final String path, byte data[], int version)
              throws KeeperException, InterruptedException {
          verbotenThreadCheck();
          final String clientPath = path;
          PathUtils.validatePath(clientPath);
  
          final String serverPath = prependChroot(clientPath);
  
          RequestHeader h = new RequestHeader();
          h.setType(ZooDefs.OpCode.setData);
          SetDataRequest request = new SetDataRequest();
          request.setPath(serverPath);
          request.setData(data);
          request.setVersion(version);
          SetDataResponse response = new SetDataResponse();
          ReplyHeader r = cnxn.submitRequest(h, request, response, null);
          if (r.getErr() != 0) {
              throw KeeperException.create(KeeperException.Code.get(r.getErr()),
                      clientPath);
          }
          return response.getStat();
      }