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

org.jetbrains.exposed.dao.exceptions.EntityNotFoundException.kt Maven / Gradle / Ivy

There is a newer version: 0.56.0
Show newest version
package org.jetbrains.exposed.dao.exceptions

import org.jetbrains.exposed.dao.EntityClass
import org.jetbrains.exposed.dao.id.EntityID

/**
 * An exception that provides information about an [entity] that could not be accessed
 * either within the scope of the current entity cache or as a result of a database search error.
 */
class EntityNotFoundException(val id: EntityID<*>, val entity: EntityClass<*, *>) :
    Exception("Entity ${entity.klass.simpleName}, id=$id not found in the database")




© 2015 - 2024 Weber Informatics LLC | Privacy Policy