You are here

public function FileNotFoundException::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/File/Exception/FileNotFoundException.php \Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException::__construct()

Constructor.

Parameters

string $path The path to the file that was not found:

File

vendor/symfony/http-foundation/File/Exception/FileNotFoundException.php, line 26

Class

FileNotFoundException
Thrown when a file was not found.

Namespace

Symfony\Component\HttpFoundation\File\Exception

Code

public function __construct($path) {
  parent::__construct(sprintf('The file "%s" does not exist', $path));
}