DatabaseException
class DatabaseException extends Exception
Error class for database exceptions
Methods
string
getSQL()
Returns the SQL that generated this error
array
getParameters()
The parameters given for this query, if any
__construct(string $message = '', integer $code, Exception $previous = null, string $sql = null, array $parameters = array())
Constructs the database exception
Details
at line 32
string
getSQL()
Returns the SQL that generated this error
at line 42
array
getParameters()
The parameters given for this query, if any
at line 56
__construct(string $message = '', integer $code, Exception $previous = null, string $sql = null, array $parameters = array())
Constructs the database exception