public class SQLTimeoutException extends SQLException:
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"| Modifier and Type | Member | Description |
|---|---|---|
| public | SQLTimeoutExceptionSQLTimeoutException(
message as String = "SQL operation timed out",
sqlState as String = "HYT00",
vendorCode as Int = 0
): |
Creates an SQL timeout exception. |