ArgumentNullException Constructor
public \Bitrix\Main\ArgumentNullException::__construct( $parameter, \Exception $previous = null );
This non-static method is called when creating a class instance and allows to modify it when creating an object. Constructor receives the parameter and automatically generates a message.
Parameter
Parameter | Description | Version |
---|---|---|
$parameter | Parameter. Cannot be empty. | |
$previous | Previous exception. Used to build chain of exceptions. |
Examples
© «Bitrix24», 2001-2024
Up