public function AccessDeniedException::__construct

Constructor.

Parameters

string $path The path to the accessed file:

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/File/Exception/AccessDeniedException.php, line 26

Class

AccessDeniedException
Thrown when the access on a file was denied.

Namespace

Symfony\Component\HttpFoundation\File\Exception

Code

public function __construct($path) {
  parent::__construct(sprintf('The file %s could not be accessed', $path));
}