class JDatabaseExceptionExecuting extends RuntimeException

Exception class defining an error executing a statement

Methods

__construct( string $query, string $message = '', integer $code, Exception $previous = null)

Construct the exception

string
getQuery()

Get the SQL statement that was executed

Details

__construct( string $query, string $message = '', integer $code, Exception $previous = null)

Construct the exception

Parameters

string $query The SQL statement that was executed.
string $message The Exception message to throw. [optional]
integer $code The Exception code. [optional]
Exception $previous The previous exception used for the exception chaining. [optional]

string getQuery()

Get the SQL statement that was executed

Return Value

string