Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
logicexception.php
1
<?php
9
namespace
Bitrix\Security
;
10
11
12
use
Bitrix\Main
;
13
use
Bitrix\Main\Localization\Loc
;
14
20
class
LogicException
21
extends
Main\SystemException
22
{
23
protected
$locMessage
=
null
;
24
35
public
function
__construct
($message =
''
, $locMessageKey =
''
, $code = 0, $file =
''
, $line = 0, \
Exception
$previous =
null
)
36
{
37
$this->locMessage = $locMessageKey;
38
parent::__construct($message, $code, $file, $line, $previous);
39
}
40
46
public
function
getLocMessage
()
47
{
48
if
(!$this->locMessage)
49
return
''
;
50
51
return
Loc::getMessage
($this->locMessage);
52
}
53
}
Bitrix\Main\DB\Exception
Definition
exception.php:11
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\getMessage
static getMessage($code, $replace=null, $language=null)
Definition
loc.php:29
Bitrix\Main\SystemException
Definition
exception.php:8
Bitrix\Security\LogicException
Definition
logicexception.php:22
Bitrix\Security\LogicException\__construct
__construct($message='', $locMessageKey='', $code=0, $file='', $line=0, \Exception $previous=null)
Definition
logicexception.php:35
Bitrix\Security\LogicException\getLocMessage
getLocMessage()
Definition
logicexception.php:46
Bitrix\Security\LogicException\$locMessage
$locMessage
Definition
logicexception.php:23
Bitrix\Main
Bitrix\Security
modules
security
lib
logicexception.php
Создано системой
1.10.0