klyn.databases.sql.SQLException.SQLException
constructor

    public SQLException(message as String = "", sqlState as String = "", vendorCode as Int = 0):

Description

Creates an SQL exception.

Parameters

- message Human-readable error message.
- sqlState Optional SQL state.
- vendorCode Optional vendor-specific error code. ```klyn import klyn.databases.sql throw SQLException("Connection refused", "08001") ```