Documentation

ArgumentOutOfRangeException constructor

 public
\Bitrix\Main\ArgumentOutOfRangeException::__construct(
 string $parameter,
 null $lowerLimit = null,
 null $upperLimit = null,
 \Exception $previous = null
);

This non-static method is called when crating a class instance and allows to modify it, when creating an object.

Parameters

ParameterDescriptionVersion
$parameterArgument that creates an exception.
$lowerLimitLower limit for possible values or an array of possible values.
$upperLimitUpper limit for possible values.
$previousPrevious exception. Used to build chain of exceptions.

Examples



© «Bitrix24», 2001-2024
Up