Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
exception.php
1<?php
2namespace Bitrix\Main\DB;
3
11{
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 {
40 }
41}
__construct($message="", $databaseMessage="", \Exception $previous=null)
Definition exception.php:20