StatementException

constructor(reason: StatementExceptionReason, details: String? = null, position: Int? = null, sqlState: String? = null, serverErrorMessage: ServerErrorMessage? = null)

Parameters

sqlState

The SQL state code returned by the database, if available.

serverErrorMessage

The original error message from the database server, if available.