ConversionException

class ConversionException(val messageEnum: ConversionExceptionMessage, val value: Any? = null, val targetType: String? = null, val rowData: Map<String, Any?>? = null, val propertyName: String? = null, cause: Throwable? = null, queryContext: QueryContext? = null) : DatabaseException

Errors related to conversion, parsing, or mapping data between Postgres and Kotlin.

Constructors

Link copied to clipboard
constructor(messageEnum: ConversionExceptionMessage, value: Any? = null, targetType: String? = null, rowData: Map<String, Any?>? = null, propertyName: 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
open val message: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val value: Any?

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.