Class MySQLWrongFunctionException
Common base class of MySQLResultRecievedException and MySQLNoResultRecievedException.
Thrown when making the wrong choice between exec or query.
The query functions (query, querySet, queryRow, etc.) are for SQL statements such as SELECT that return results (even if the result set has zero elements.)
The exec functions are for SQL statements, such as INSERT, that never return result sets, but may return rowsAffected.
Using one of those functions, when the other should have been used instead, results in an exception derived from this.
Inherits from
-
MySQLException
(base class)
Constructors
Name | Description |
---|---|
this
|