TransactionException

Exception thrown for concurrency-related issues and transaction lifecycle failures.

These errors are typically transient and may succeed if retried (especially DEADLOCK and SERIALIZATION_FAILURE).

Constructors

Link copied to clipboard
constructor(messageEnum: TransactionExceptionMessage, queryContext: QueryContext?, cause: Throwable?)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
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.