LogicException constructor
public \Bitrix\Security\LogicException::__construct( string $message = '', string $locMessageKey = '', integer $code, string $file = '', integer $line, \Exception $previous = null );
Non-static method creates a new exception.
Parameters
Parameter | Description | Version |
---|---|---|
$message | Message sent | |
$locMessageKey | Message localization key. Useful for printing message directly to user. | |
$code | Exception code. | |
$file | Creates exception for this file name. | |
$line | Creates exception for this file string name. | |
$previous | Previous exception. Used for exception sequencing. |
Example
© «Bitrix24», 2001-2024