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
Parameter | Description | Version |
---|---|---|
$message | Exception message | |
$code | Code that caused an exception | |
$file | File that caused an exception | |
$line | String in file | |
$previous | Previous exception. Used for building chain of exceptions. |
Example
© «Bitrix24», 2001-2024
Up