Documentation

SystemException constructor

 public
\Bitrix\Main\SystemException::__construct(
 string $message = "",
 integer $code,
 string $file = "",
 integer $line,
 \Exception $previous = null
);

Non-static method is called when creating a class instance and allows updating it via specific actions when creating an object.

Parameters

ParameterDescriptionVersion
$messageException message
$codeCode that caused an exception
$fileFile that caused an exception
$lineString in file
$previousPrevious exception. Used for building chain of exceptions.

Example



© «Bitrix24», 2001-2024
Up