# ExposedSQLException

class ExposedSQLException(cause: Throwable?, val contexts: List<StatementContext>, transaction: Transaction) : SQLException

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

## Constructors

ExposedSQLException
Link copied to clipboard
constructor(cause: Throwable?, contexts: List<StatementContext>, transaction: Transaction)

## Properties

cause
Link copied to clipboard
open val cause: Throwable?
contexts
Link copied to clipboard
val contexts: List<StatementContext>
message
Link copied to clipboard
open val message: String?

## Functions

addSuppressed
Link copied to clipboard
fun addSuppressed(p0: Throwable)
appendTo
Link copied to clipboard
fun <T> Iterable<T>.appendTo(builder: QueryBuilder, separator: CharSequence = ", ", prefix: CharSequence = "", postfix: CharSequence = "", transform: QueryBuilder.(T) -> Unit): QueryBuilder

Appends all the elements separated using separator and using the given prefix and postfix if supplied.

causedByQueries
Link copied to clipboard
fun causedByQueries(): List<String>
fillInStackTrace
Link copied to clipboard
open fun fillInStackTrace(): Throwable
forEach
Link copied to clipboard
open fun forEach(p0: Consumer<in Throwable>)
getErrorCode
Link copied to clipboard
open override fun getErrorCode(): Int
getLocalizedMessage
Link copied to clipboard
open fun getLocalizedMessage(): String
getNextException
Link copied to clipboard
open fun getNextException(): SQLException
getSQLState
Link copied to clipboard
open override fun getSQLState(): String
getStackTrace
Link copied to clipboard
open fun getStackTrace(): Array<StackTraceElement>
getSuppressed
Link copied to clipboard
fun getSuppressed(): Array<Throwable>
initCause
Link copied to clipboard
open fun initCause(p0: Throwable): Throwable
iterator
Link copied to clipboard
open operator override fun iterator(): MutableIterator<Throwable>
printStackTrace
Link copied to clipboard
open fun printStackTrace()
open fun printStackTrace(p0: PrintStream)
open fun printStackTrace(p0: PrintWriter)
setNextException
Link copied to clipboard
open fun setNextException(p0: SQLException)
setStackTrace
Link copied to clipboard
open fun setStackTrace(p0: Array<StackTraceElement>)
spliterator
Link copied to clipboard
open fun spliterator(): Spliterator<Throwable>
toString
Link copied to clipboard
open override fun toString(): String