Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
nonloggedexceptiondecorator.php
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
Bitrix\Rest
;
6
7
use Exception;
8
9
final
class
NonLoggedExceptionDecorator
extends
Exception
10
{
11
private
Exception $originalException;
12
13
public
function
__construct
(Exception $exception)
14
{
15
$this->originalException = $exception;
16
17
parent::__construct(
18
$exception->getMessage(),
19
$exception->getCode(),
20
$exception->getPrevious()
21
);
22
}
23
24
public
function
getOriginalException
(): Exception
25
{
26
return
$this->originalException;
27
}
28
}
Bitrix\Rest\NonLoggedExceptionDecorator
Definition
nonloggedexceptiondecorator.php:10
Bitrix\Rest\NonLoggedExceptionDecorator\getOriginalException
getOriginalException()
Definition
nonloggedexceptiondecorator.php:24
Bitrix\Rest\NonLoggedExceptionDecorator\__construct
__construct(Exception $exception)
Definition
nonloggedexceptiondecorator.php:13
Bitrix\Rest
Definition
accessexception.php:2
modules
rest
lib
nonloggedexceptiondecorator.php
Создано системой
1.10.0