]> git.mxchange.org Git - friendica-addons.git/blob - s3_storage/vendor/akeeba/s3/src/Exception/CannotOpenFileForRead.php
[s3_storage] Bump version of akeeba/s3 to version 2.3.1
[friendica-addons.git] / s3_storage / vendor / akeeba / s3 / src / Exception / CannotOpenFileForRead.php
1 <?php
2 /**
3  * Akeeba Engine
4  *
5  * @package   akeebaengine
6  * @copyright Copyright (c)2006-2023 Nicholas K. Dionysopoulos / Akeeba Ltd
7  * @license   GNU General Public License version 3, or later
8  */
9
10 namespace Akeeba\S3\Exception;
11
12 // Protection against direct access
13 defined('AKEEBAENGINE') || die();
14
15 use Exception;
16 use RuntimeException;
17
18 class CannotOpenFileForRead extends RuntimeException
19 {
20         public function __construct(string $file = "", int $code = 0, Exception $previous = null)
21         {
22                 $message = "Cannot open $file for reading";
23
24                 parent::__construct($message, $code, $previous);
25         }
26
27 }