\Bazalt\ORM\ExceptionTable

ORM_Exception_Base

Summary

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

Properties

$tableName

$tableName : string

Table that generated the exception

Type

string

Methods

__construct()

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

Contructor

Parameters

string $message

Exception message

string $tableName

Table that generated the exception

\Bazalt\ORM\Exception\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