org.apache.tinkerpop.gremlin.ogm.exceptions.IncompatibleMap.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-gremlin-ogm Show documentation
Show all versions of kotlin-gremlin-ogm Show documentation
The Object Graph Mapping Library for Kotlin and Gremlin
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