Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
exception.php
1
<?php
2
namespace
Bitrix\Main\DB
;
3
10
class
Exception
extends
\Bitrix\Main\SystemException
11
{
13
protected
$databaseMessage
;
14
20
public
function
__construct
($message =
""
,
$databaseMessage
=
""
, \
Exception
$previous =
null
)
21
{
22
if
(($message !=
""
) && (
$databaseMessage
!=
""
))
23
$message .=
": "
.$databaseMessage;
24
elseif (($message ==
""
) && (
$databaseMessage
!=
""
))
25
$message =
$databaseMessage
;
26
27
$this->databaseMessage =
$databaseMessage
;
28
29
parent::__construct($message, 400,
''
, 0, $previous);
30
}
31
37
public
function
getDatabaseMessage
()
38
{
39
return
$this->databaseMessage
;
40
}
41
}
Bitrix\Main\DB\Exception
Definition
exception.php:11
Bitrix\Main\DB\Exception\getDatabaseMessage
getDatabaseMessage()
Definition
exception.php:37
Bitrix\Main\DB\Exception\$databaseMessage
$databaseMessage
Definition
exception.php:13
Bitrix\Main\DB\Exception\__construct
__construct($message="", $databaseMessage="", \Exception $previous=null)
Definition
exception.php:20
Bitrix\Main\SystemException
Definition
exception.php:8
Bitrix\Main\DB
Definition
arrayresult.php:2
modules
main
lib
db
exception.php
Создано системой
1.10.0