first commit
This commit is contained in:
22
phpspreadsheet-1.13_php-7.4/vendor/maennchen/zipstream-php/src/Exception/FileNotFoundException.php
vendored
Executable file
22
phpspreadsheet-1.13_php-7.4/vendor/maennchen/zipstream-php/src/Exception/FileNotFoundException.php
vendored
Executable file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace ZipStream\Exception;
|
||||
|
||||
use ZipStream\Exception;
|
||||
|
||||
/**
|
||||
* This Exception gets invoked if a file wasn't found
|
||||
*/
|
||||
class FileNotFoundException extends Exception
|
||||
{
|
||||
/**
|
||||
* Constructor of the Exception
|
||||
*
|
||||
* @param String $path - The path which wasn't found
|
||||
*/
|
||||
public function __construct(string $path)
|
||||
{
|
||||
parent::__construct("The file with the path $path wasn't found.");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user