TypeRegistryException

class TypeRegistryException(val messageEnum: TypeRegistryExceptionMessage, val typeName: String, val oid: Int? = null, val expectedCategory: String? = null, val details: String? = null, cause: Throwable? = null, queryContext: QueryContext? = null) : FatalDatabaseException

Exception thrown when there is a mismatch or missing definition in the type registry.

The type registry maintains mappings for PostgreSQL enums and composite types. This exception can occur during startup (schema validation) or at runtime (when a type is used but not registered).

Constructors

Link copied to clipboard
constructor(messageEnum: TypeRegistryExceptionMessage, typeName: String, oid: Int? = null, expectedCategory: String? = null, details: String? = null, cause: Throwable? = null, queryContext: QueryContext? = null)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val message: String?
Link copied to clipboard
Link copied to clipboard
val oid: Int?
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun getDetailedMessage(): String

Subclasses can provide additional technical details here.

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard

Enriches the exception with a full query context.

Link copied to clipboard

Enriches the exception with the transaction step index.