Package io.fathom.cloud.state

Examples of io.fathom.cloud.state.DuplicateValueException


                    allocation = store.create(b);
                } else {
                    if (allocation.getOwnerProject() != project.getId()) {
                        // Already assigned to someone else
                        throw new DuplicateValueException();
                    }
                }
            }

            if (suffixData.hasBackend()) {
View Full Code Here


            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);
        }
    }
View Full Code Here

TOP

Related Classes of io.fathom.cloud.state.DuplicateValueException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.