public static IllegalArgumentException edgeWithIdAlreadyExists(final Object id) {
            return new IllegalArgumentException(String.format("Edge with id already exists: %s", id));
        }
Common exceptions to use with a graph.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/Graph.java