1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
logicexception.php
См. документацию.
1
<?php
8
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\SystemException
Определения
SystemException.php:9
Bitrix\Security\LogicException
Определения
logicexception.php:22
Bitrix\Security\LogicException\__construct
__construct($message='', $locMessageKey='', $code=0, $file='', $line=0, \Exception $previous=null)
Определения
logicexception.php:35
Bitrix\Security\LogicException\getLocMessage
getLocMessage()
Определения
logicexception.php:46
Bitrix\Security\LogicException\$locMessage
$locMessage
Определения
logicexception.php:23
$code
if(!is_null($config))($config as $configItem)(! $configItem->isVisible()) $code
Определения
options.php:195
Bitrix\Main\DI\Exception
Определения
circulardependencyexception.php:3
$message
$message
Определения
payment.php:8
bitrix
modules
security
lib
logicexception.php
Создано системой
1.14.0