Documentation

ArgumentException

 public
\Bitrix\Main\ArgumentException::__construct(
  $message = "",
  $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 sets an error code as 100.

Parameters

ParameterDescriptionVersion
$messageMessage.
$parameterParameter. Cannot be empty.
$previousPrevious exception. Used to build chain of exceptions.

Examples



© «Bitrix24», 2001-2022
Up