Back to Exposed

ExposedR2dbcException

docs/api/exposed-r2dbc/org.jetbrains.exposed.v1.r2dbc/-exposed-r2dbc-exception/index.html

1.2.03.5 KB
Original Source

ExposedR2dbcException

class ExposedR2dbcException(cause: Throwable?, val contexts: List<StatementContext>, transaction: R2dbcTransaction) : R2dbcException

An exception that provides information about a database access error, within the contexts of the executed statements that caused the exception.

Members

Constructors

ExposedR2dbcException

Link copied to clipboard

constructor(cause: Throwable?, contexts: List<StatementContext>, transaction: R2dbcTransaction)

Properties

cause

Link copied to clipboard

open val cause: Throwable?

contexts

Link copied to clipboard

val contexts: List<StatementContext>

errorCode

Link copied to clipboard

val errorCode: Int

message

Link copied to clipboard

open override val message: String

sql

Link copied to clipboard

@get:Nullable

val sql: String?

sqlState

Link copied to clipboard

@get:Nullable

val sqlState: String?

Functions

causedByQueries

Link copied to clipboard

fun causedByQueries(): List<String>

getSpecificErrorCode

Link copied to clipboard

fun getSpecificErrorCode(): Int

getSQLState

Link copied to clipboard

fun getSQLState(): String

toString

Link copied to clipboard

open override fun toString(): String

Generated by Dokka © 2026 Copyright