public static UnsupportedOperationException variablesNotSupported() {
            return new UnsupportedOperationException("Graph does not support graph variables");
        }
Common exceptions to use with a graph.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/Graph.java