ConnectionException

class ConnectionException(message: String, queryContext: QueryContext? = null, cause: Throwable?) : DatabaseException

Exception thrown when there are infrastructure or connectivity issues.

This includes failures to obtain a connection from the pool, network timeouts, or the database server being unreachable.

Constructors

Link copied to clipboard
constructor(message: String, queryContext: QueryContext? = null, cause: Throwable?)

Properties

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

Functions

Link copied to clipboard

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.