method
public
Exception::__construct()
Сигнатура
public __construct([mixed $message = false ][, array<string|int, mixed> $data = array() ][, array<string|int, mixed> $additional = array() ]) : mixed
Параметры
$message
mixed
= false
$data
array<string|int, mixed>
= array()
$additional
array<string|int, mixed>
= array()
Возвращаемое значение
mixed
Как применяется в Exception
Exception::__construct() — метод класса \Bitrix\Tasks\Internals\DataBase\Tree\Exception модуля «Задачи».
Конструктор: создаёт экземпляр Exception.
use Bitrix\Main\Loader;
use Bitrix\Tasks\Internals\DataBase\Tree\Exception;
Loader::includeModule('tasks');
$object = new Exception();Другие методы Exception
__construct() есть и у других классов модуля «Задачи»: AbstractCase, AbstractConverter, AccessInstaller, AccompliceConverter, Agent, AuditorConverter, BaseEvent, ChecklistAddRule.
Исходный файл: source/tasks/lib/internals/database/tree/exception.php:14

