public static IllegalArgumentException argumentCanNotBeNull(final String argument) {
            return new IllegalArgumentException(String.format("The provided argument can not be null: %s", argument));
        }
Common exceptions to use with a graph.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/Graph.java