class DatabaseException extends LogicException

XELOS Query Exception Thrown when the query contains an error.

Class database_exception

Properties

protected $Query
protected $QueryParams

Methods

string
getQuery($singleLineFormat = false)

Returns the Query causing this exception

setQuery($query, $QueryParams = [])

Sets the Query connected to this Exception

Details

at line 34
string getQuery($singleLineFormat = false)

Returns the Query causing this exception

Parameters

$singleLineFormat

bool Set to true to format the Query without uneccessary linebreaks and spaces

Return Value

string

at line 24
setQuery($query, $QueryParams = [])

Sets the Query connected to this Exception

Parameters

$query

string

$QueryParams