You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
456 B
23 lines
456 B
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace ZipStream\Exception;
|
|
|
|
use ZipStream\Exception;
|
|
|
|
/**
|
|
* This Exception gets invoked if a file wasn't found
|
|
*/
|
|
class FileNotReadableException 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 isn't readable.");
|
|
}
|
|
}
|