docs: public int read(User registrar) throws AffiliationException, InvalidArgumentException {
          if (registrar == null) {
              throw new InvalidArgumentException("Registrar should be a valid member");
          }
  
          String readAffURL = "";
          try {
              readAffURL = HFCA_AFFILIATION + "/" + name;
              logger.debug(format("affiliation  url: %s, registrar: %s", readAffURL, registrar.getName()));
  
              JsonObject result = client.httpGet(readAffURL, registrar);
  
              logger.debug(format("affiliation  url: %s, registrar: %s done.", readAffURL, registrar));
              HFCAAffiliationResp resp = getResponse(result);
              this.childHFCAAffiliations = resp.getChildren();
  
              this.identities = resp.getIdentities();
              this.deleted = false;
              return resp.statusCode;
          } catch (HTTPException e) {
              String msg = format("[Code: %d] - Error while getting affiliation '%s' from url '%s': %s", e.getStatusCode(), this.name, readAffURL, e.getMessage());
              AffiliationException affiliationException = new AffiliationException(msg, e);
              logger.error(msg);
              throw affiliationException;
          } catch (Exception e) {
              String msg = format("Error while getting affiliation %s url: %s  %s ", this.name, readAffURL, e.getMessage());
              AffiliationException affiliationException = new AffiliationException(msg, e);
              logger.error(msg);
              throw affiliationException;
          }
      }