You are here

class FileNotFoundException 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

Thrown when a file was not found.

@author Bernhard Schussek <bschussek@gmail.com>

Hierarchy

  • class \Symfony\Component\HttpFoundation\File\Exception\FileException extends \Symfony\Component\HttpFoundation\File\Exception\RuntimeException

Expanded class hierarchy of FileNotFoundException

6 files declare their use of FileNotFoundException
File.php in vendor/symfony/http-foundation/File/File.php
FileBinaryMimeTypeGuesser.php in vendor/symfony/http-foundation/File/MimeType/FileBinaryMimeTypeGuesser.php
FileinfoMimeTypeGuesser.php in vendor/symfony/http-foundation/File/MimeType/FileinfoMimeTypeGuesser.php
MimeTypeGuesser.php in vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php
MimeTypeGuesserInterface.php in vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesserInterface.php

... See full list

File

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

Namespace

Symfony\Component\HttpFoundation\File\Exception
View source
class FileNotFoundException extends FileException {

  /**
   * Constructor.
   *
   * @param string $path The path to the file that was not found
   */
  public function __construct($path) {
    parent::__construct(sprintf('The file "%s" does not exist', $path));
  }

}

Members