All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.tinkerpop.gremlin.ogm.exceptions.IncompatibleMap.kt Maven / Gradle / Ivy

There is a newer version: 0.21.0
Show newest version
package org.apache.tinkerpop.gremlin.ogm.exceptions

import org.apache.tinkerpop.gremlin.ogm.reflection.PropertyDescription

internal class IncompatibleMap(
        propertyDescription: PropertyDescription<*, *>
) : ClientException(
        description = "Unsupported map of type ${propertyDescription.kClass}. " +
                "This library knows how to serialize/deserialize the map based on the map's type " +
                "parameters' first upper bound constraint, which must be a class. For example when " +
                "deserializing Map, K and V must both have their first upper bound constraint be a class." +
                "That class determines how to map the keys/values to and from the graph." +
                "Alternatively, you can define a custom vertexMapper for this map property."
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy