127128129130131132133134135136137
allocation = store.create(b); } else { if (allocation.getOwnerProject() != project.getId()) { // Already assigned to someone else throw new DuplicateValueException(); } } } if (suffixData.hasBackend()) {
102103104105106107108109110111
Zone response = dns.createZone(request); return response.id; } catch (RestClientException e) { if (e.is(409)) { throw new DuplicateValueException(); } throw new CloudException("Error creating zone", e); } }