Back to Exposed

EntityNotFoundException

docs/api/exposed-dao/org.jetbrains.exposed.v1.dao.exceptions/-entity-not-found-exception/index.html

1.2.01.8 KB
Original Source

EntityNotFoundException

class EntityNotFoundException(val id: EntityID<*>, val entity: EntityClass<*, *>) : Exception

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.

Members

Constructors

EntityNotFoundException

Link copied to clipboard

constructor(id: EntityID<*>, entity: EntityClass<*, *>)

Properties

cause

Link copied to clipboard

open val cause: Throwable?

entity

Link copied to clipboard

val entity: EntityClass<*, *>

id

Link copied to clipboard

val id: EntityID<*>

message

Link copied to clipboard

open val message: String?

Generated by Dokka © 2026 Copyright