Documentation

Constructor SecurityException

 public
\Bitrix\Main\Security\SecurityException::__construct(
 string $message = "",
 string $code = 0,
 \Exception $previous = null
);

Non-static method is called when creating a class instance and allows to perform specific actions within it when creating object. It's message receives only message and code.

Parameters

ParameterDescriptionVersion
$messageException message
$codeCode that generated exception.
$previous

Example



© «Bitrix24», 2001-2022
Up