Documentation

FileOpenException constructor

 public
\Bitrix\Main\IO\FileOpenException::__construct(
  $path,
  \Exception $previous = null
);

Non-static method is called when creating a class instance, allowing to perform actions within it when creating an object. Passes only path to constructor.

Parameters

ParameterDescriptionVersion
$pathFile path.
$previousPrevious exception. Used for building an exception chain.

Example



© «Bitrix24», 2001-2024
Up