Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
requiredfieldnotfoundexception.php
1
<?php
2
3
namespace
Bitrix\Seo\BusinessSuite\Exception
;
4
5
6
class
RequiredFieldNotFoundException
extends
ConfigException
7
{
8
const
EXCEPTION_TYPE
=
ConfigException::EXCEPTION_TYPE_REQUIRED_FIELD
;
9
protected
$fieldCode
;
10
21
public
function
__construct
(
22
$message =
""
,
23
$code = 0,
24
$file =
""
,
25
$line = 0,
26
\Exception $previous =
null
,
27
$fieldCode
=
''
28
)
29
{
30
parent::__construct($message, $code, $file, $line, $previous);
31
$this->fieldCode =
$fieldCode
;
32
}
33
37
public
function
getCustomData
(): array
38
{
39
return
parent::getCustomData() + [
40
'code'
=>
$this->fieldCode
,
41
];
42
}
43
}
Bitrix\Seo\BusinessSuite\Exception\ConfigException
Definition
configexception.php:8
Bitrix\Seo\BusinessSuite\Exception\ConfigException\EXCEPTION_TYPE_REQUIRED_FIELD
const EXCEPTION_TYPE_REQUIRED_FIELD
Definition
configexception.php:11
Bitrix\Seo\BusinessSuite\Exception\RequiredFieldNotFoundException
Definition
requiredfieldnotfoundexception.php:7
Bitrix\Seo\BusinessSuite\Exception\RequiredFieldNotFoundException\__construct
__construct( $message="", $code=0, $file="", $line=0, \Exception $previous=null, $fieldCode='')
Definition
requiredfieldnotfoundexception.php:21
Bitrix\Seo\BusinessSuite\Exception\RequiredFieldNotFoundException\$fieldCode
$fieldCode
Definition
requiredfieldnotfoundexception.php:9
Bitrix\Seo\BusinessSuite\Exception\RequiredFieldNotFoundException\getCustomData
getCustomData()
Definition
requiredfieldnotfoundexception.php:37
Bitrix\Seo\BusinessSuite\Exception\RequiredFieldNotFoundException\EXCEPTION_TYPE
const EXCEPTION_TYPE
Definition
requiredfieldnotfoundexception.php:8
Bitrix\Seo\BusinessSuite\Exception
Definition
configexception.php:3
modules
seo
lib
businesssuite
exception
requiredfieldnotfoundexception.php
Создано системой
1.10.0