# Uses of Class
org.apache.drill.jdbc.JdbcApiSqlException

Packages that use JdbcApiSqlException
Package
Description
org.apache.drill.jdbc
JDBC driver for Drill.

## Uses of JdbcApiSqlException in org.apache.drill.jdbc

Subclasses of JdbcApiSqlException in org.apache.drill.jdbc
Modifier and Type
Class
Description
`class`
`AlreadyClosedSqlException`
SQLException for object-already-closed conditions, e.g., calling a method on a closed
invalid reference

    Statement

.
`class`
`InvalidCursorStateSqlException`
SQLException for invalid-cursor-state conditions, e.g., calling a column accessor method before calling
invalid reference

    ResultSet#next()

or after
invalid reference

    ResultSet#next()

returns false.
`class`
`InvalidParameterSqlException`
`JdbcApiSqlException` for invalid-parameter-value conditions.
Methods in org.apache.drill.jdbc that throw JdbcApiSqlException
Modifier and Type
Method
Description
`void`
DrillConnection.`setNetworkTimeout(Executor executor, int milliseconds)`
Drill: Not supported (for non-zero timeout value).
`void`
DrillStatement.`setQueryTimeout(int seconds)`
Drill: Supported (for non-zero timeout value).