ExecutionFailureException
Extends RuntimeExceptionException class defining an error executing a statement
| since |
1.5.0 |
|---|---|
| package |
Joomla Framework |
Methods
__construct
Construct the exception
__construct(string query, string message = '', int code, \Joomla\Database\Exception\Exception previous = null) : mixed
| since |
1.5.0 |
|---|
Arguments
- query
stringThe SQL statement that was executed.- message
stringThe Exception message to throw. [optional]- code
intThe Exception code. [optional]- previous
\Joomla\Database\Exception\ExceptionThe previous exception used for the exception chaining. [optional]
Response
mixed
getQuery
Get the SQL statement that was executed
getQuery() : string
| since |
1.5.0 |
|---|
Response
string
Properties
query
The SQL statement that was executed.
| since |
1.5.0 |
|---|
Type(s)
string