You are here

class AccessDeniedException in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/File/Exception/AccessDeniedException.php \Symfony\Component\HttpFoundation\File\Exception\AccessDeniedException

Thrown when the access on a file was denied.

@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 AccessDeniedException

4 files declare their use of AccessDeniedException
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

File

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

Namespace

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

  /**
   * Constructor.
   *
   * @param string $path The path to the accessed file
   */
  public function __construct($path) {
    parent::__construct(sprintf('The file %s could not be accessed', $path));
  }

}

Members