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