# 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.

## 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?

## Functions

addSuppressed
Link copied to clipboard
fun addSuppressed(p0: Throwable)
fillInStackTrace
Link copied to clipboard
open fun fillInStackTrace(): Throwable
getLocalizedMessage
Link copied to clipboard
open fun getLocalizedMessage(): String
getStackTrace
Link copied to clipboard
open fun getStackTrace(): Array<StackTraceElement>
getSuppressed
Link copied to clipboard
fun getSuppressed(): Array<Throwable>
initCause
Link copied to clipboard
open fun initCause(p0: Throwable): Throwable
printStackTrace
Link copied to clipboard
open fun printStackTrace()
open fun printStackTrace(p0: PrintStream)
open fun printStackTrace(p0: PrintWriter)
setStackTrace
Link copied to clipboard
open fun setStackTrace(p0: Array<StackTraceElement>)