org.apache.tinkerpop.gremlin.ogm.exceptions.NonNullableID.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 kotlin.reflect.KClass
import kotlin.reflect.KParameter
internal class NonNullableID(
kClass: KClass<*>,
param: KParameter
) : AnnotationException(
"Param '${param.name}' annotated with @ID must be nullable for when the " +
"object has not yet been persisted. " +
"Clients may choose to have another param used for identification that is non-null. " +
"Class $kClass"
)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy