\Bazalt\ORM\ExceptionDatabase

ORM_Exception_Base

Summary

Methods
Properties
Constants
__construct()
getException()
getDetails()
No public properties found
No constants found
No protected methods found
$database
N/A
No private methods found
No private properties found
N/A

Properties

$database

$database : string

Type

string

Methods

__construct()

__construct(string  $message, \Exception  $innerEx = null, integer  $code) 

Contructor

Parameters

string $message

Exception message

\Exception $innerEx

Inner exception

integer $code

Exception code

getException()

getException(\PDOException  $e,   $query = null,   $params = array()) 

Parameters

\PDOException $e
$query
$params

getDetails()

getDetails() : string

Повертає детальну інформацію про помилку

Returns

string