SQLWarning
class in package klyn.databases.sql

    public class SQLWarning extends SQLException:

Object
└ Exception
└ SQLException
└ SQLWarning

Non-fatal SQL warning.

Warnings are chained through `nextWarning`.

    import klyn.databases.sql

    warning = SQLWarning("Query used an implicit cast")
    print(warning.message)

Properties

Modifier and Type | Member | Description
--- | --- | ---
public property | nextWarning `nextWarning as SQLWarning` | Optional next warning in the chain.

Properties inherited from SQLException: sqlState, vendorCode
Properties inherited from Exception: message
Properties inherited from Object: type
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | SQLWarning `SQLWarning(message as String = "", sqlState as String = "", vendorCode as Int = 0):` | Creates an SQL warning.

Methods inherited from Exception: toString
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml