hostResource);
} else {
registry.rollbackTransaction();
String msg = "Requested domain is already taken!";
log.error(msg);
throw new DomainMappingExistsException(msg, hostName);
}
registry.commitTransaction();
} catch (RegistryException e) {
registry.rollbackTransaction();
throw e;