JDatabaseExceptionExecuting
Extends \RuntimeExceptionException class defining an error executing a statement
since |
3.6 |
---|---|
package |
Joomla.Platform |
Methods
__construct
Construct the exception
__construct(string $query, string $message = '', integer $code, \Exception $previous = null)
since |
3.6 |
---|
Arguments
- $query
string
The SQL statement that was executed.- $message
string
The Exception message to throw. [optional]- $code
integer
The Exception code. [optional]- $previous
\Exception
The previous exception used for the exception chaining. [optional]
getQuery
Get the SQL statement that was executed
getQuery() : string
since |
3.6 |
---|
Response
string
Properties
query
The SQL statement that was executed.
since |
3.6 |
---|
Type(s)
string