code: public static Domain get(final BandwidthClient client, final String id) throws ParseException, Exception {
          assert(client != null);
          final String domainsUri =  client.getUserResourceInstanceUri(BandwidthConstants.DOMAINS_URI_PATH, id);
          final JSONObject jsonObject = toJSONObject(client.get(domainsUri, null));
          return new Domain(client, jsonObject);
      }
docs: Convenience method to return a Domain
  @param client the client.
  @param id the domain id.
  @return the domain object.
  @throws ParseException Error parsing data
  @throws Exception error