public static IllegalArgumentException dataTypeOfPropertyValueNotSupported(final Object val, final Exception rootCause) {
            return new IllegalArgumentException(String.format("Property value [%s] is of type %s is not supported", val, val.getClass()), rootCause);
        }
Common exceptions to use with a property.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/Property.java