public static IllegalStateException propertyDoesNotExist(final Element element, final String key) {
            return new IllegalStateException("The property does not exist as the key has no associated value for the provided element: " + element + ":" + key);
        }
Common exceptions to use with a property.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/Property.java