SQLTimeoutException
classin packageklyn.databases.sql
public class SQLTimeoutException extends SQLException:
└ SQLTimeoutException

Reports expiration of a low-level SQL statement or transport deadline.

Entity Engine APIs translate this driver exception to klyn.data.QueryTimeoutException.

import klyn.databases.sql

error = SQLTimeoutException("Query timed out", "HYT00")
assert error.sqlState == "HYT00"
Inherited Properties
propertyInherited Properties from SQLException: sqlState, vendorCode
propertyInherited Properties from Exception: message
propertyInherited Properties from Object: type
Constructors
Modifier and Type Member Description
public SQLTimeoutException
SQLTimeoutException( message as String = "SQL operation timed out", sqlState as String = "HYT00", vendorCode as Int = 0 ):
Creates an SQL timeout exception.
Inherited Methods
methodInherited Methods from Exception: toString
methodInherited Methods from Object: deepCopy, fromJson, hash, toDict, toJson, toString, toXml