ExecutionFailureException

Extends RuntimeException

Exception class defining an error executing a statement

since

1.5.0

package

Joomla Framework

Methods

__construct

Construct the exception

__construct( query,  message = '',  code, \Exception previous = null) : 
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

Exception|nullThe previous exception used for the exception chaining. [optional]

Response

mixed

getQuery

Get the SQL statement that was executed

getQuery() : 
since

1.5.0

Response

string

Properties

query

The SQL statement that was executed.

since

1.5.0

Type(s)

string