docs: @Override
      public Result getGroups(String pattern, int limit) throws CustomRegistryException, RemoteException {
          try {
              SearchResult ret = wrappedUr.getGroups(pattern, limit);
  
              Result result = new Result();
              result.setList(ret.getList());
              if (ret.hasMore()) {
                  result.setHasMore();
              }
              return result;
          } catch (RegistryException e) {
              throw new CustomRegistryException(e.getMessage(), e);
          }
      }