Documentation

FileDeleteException constructor

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

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

Parameters

ParameterDescriptionVersion
$pathFile path.
$previousprevious exception. Used for building chain of exceptions.

Example



© «Bitrix24», 2001-2022
Up