if (hasDomain(id)) {
throw new OpenShiftException("Domain {0} already exists", id);
}
final DomainResourceDTO domainDTO = new AddDomainRequest().execute(id);
final IDomain domain = new DomainResource(domainDTO, this);
this.domains.add(domain);
return domain;
}