protected Type<T> createType(String cname) {
    try {
      @SuppressWarnings("unchecked")
      Class<T> clazz = (Class<T>) Class.forName(cname);
      return new Type<>(clazz);
    } catch (ClassNotFoundException xnotfound) {
      throw ProxyException.convert(xnotfound);
    }
  }
Creates a Type using a class name.
@param cname the class name
@return a type instance
@throws ProxyException on any underlying error
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/properties/SerializationProxy.java