Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
sqlexception.php
1
<?php
2
namespace
Bitrix\Main\DB
;
3
7
class
SqlException
extends
Exception
8
{
14
public
function
__construct
($message =
""
,
$databaseMessage
=
""
, \
Exception
$previous =
null
)
15
{
16
parent::__construct($message,
$databaseMessage
, $previous);
17
}
18
}
19
23
class
SqlQueryException
extends
SqlException
24
{
26
protected
$query
=
""
;
27
34
public
function
__construct
($message =
""
,
$databaseMessage
=
""
,
$query
=
""
, \
Exception
$previous =
null
)
35
{
36
parent::__construct($message,
$databaseMessage
, $previous);
37
$this->query =
$query
;
38
}
39
45
public
function
getQuery
()
46
{
47
return
$this->query
;
48
}
49
}
50
54
class
TransactionException
extends
SqlException
55
{
60
public
function
__construct
($message =
''
, \
Exception
$previous =
null
)
61
{
62
parent::__construct($message,
''
, $previous);
63
}
64
}
Bitrix\Main\DB\Exception
Definition
exception.php:11
Bitrix\Main\DB\Exception\$databaseMessage
$databaseMessage
Definition
exception.php:13
Bitrix\Main\DB\SqlException
Definition
sqlexception.php:8
Bitrix\Main\DB\SqlException\__construct
__construct($message="", $databaseMessage="", \Exception $previous=null)
Definition
sqlexception.php:14
Bitrix\Main\DB\SqlQueryException
Definition
sqlexception.php:24
Bitrix\Main\DB\SqlQueryException\__construct
__construct($message="", $databaseMessage="", $query="", \Exception $previous=null)
Definition
sqlexception.php:34
Bitrix\Main\DB\SqlQueryException\getQuery
getQuery()
Definition
sqlexception.php:45
Bitrix\Main\DB\SqlQueryException\$query
$query
Definition
sqlexception.php:26
Bitrix\Main\DB\TransactionException
Definition
sqlexception.php:55
Bitrix\Main\DB\TransactionException\__construct
__construct($message='', \Exception $previous=null)
Definition
sqlexception.php:60
Bitrix\Main\DB
Definition
arrayresult.php:2
modules
main
lib
db
sqlexception.php
Создано системой
1.10.0