Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Symfony\Component\HttpFoundation\File\Exception; Chris@0: Chris@0: /** Chris@0: * Thrown when the access on a file was denied. Chris@0: * Chris@0: * @author Bernhard Schussek Chris@0: */ Chris@0: class AccessDeniedException extends FileException Chris@0: { Chris@0: /** Chris@0: * @param string $path The path to the accessed file Chris@0: */ Chris@0: public function __construct($path) Chris@0: { Chris@0: parent::__construct(sprintf('The file %s could not be accessed', $path)); Chris@0: } Chris@0: }