Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
accessexception.php
1
<?
2
namespace
Bitrix\Rest
;
3
4
5
class
AccessException
6
extends
RestException
7
{
8
const
MESSAGE
=
'Access denied!'
;
9
const
CODE
=
'ACCESS_DENIED'
;
10
11
public
function
__construct
($msg =
''
, \Exception $previous =
null
)
12
{
13
parent::__construct(
14
static::MESSAGE.($msg ===
''
?
''
: (
' '
.$msg)),
15
static::CODE,
16
\CRestServer::STATUS_FORBIDDEN,
17
$previous
18
);
19
}
20
}
21
?>
Bitrix\Rest\AccessException
Definition
accessexception.php:7
Bitrix\Rest\AccessException\CODE
const CODE
Definition
accessexception.php:9
Bitrix\Rest\AccessException\__construct
__construct($msg='', \Exception $previous=null)
Definition
accessexception.php:11
Bitrix\Rest\AccessException\MESSAGE
const MESSAGE
Definition
accessexception.php:8
Bitrix\Rest\RestException
Definition
restexception.php:6
Bitrix\Rest
Definition
accessexception.php:2
modules
rest
lib
accessexception.php
Создано системой
1.10.0