5 * @package akeebaengine
6 * @copyright Copyright (c)2006-2023 Nicholas K. Dionysopoulos / Akeeba Ltd
7 * @license GNU General Public License version 3, or later
10 namespace Akeeba\S3\Exception;
12 // Protection against direct access
13 defined('AKEEBAENGINE') || die();
18 class CannotOpenFileForRead extends RuntimeException
20 public function __construct(string $file = "", int $code = 0, Exception $previous = null)
22 $message = "Cannot open $file for reading";
24 parent::__construct($message, $code, $previous);