28 lines
622 B
PHP
28 lines
622 B
PHP
<?php
|
|
/**
|
|
* Akeeba Engine
|
|
*
|
|
* @package akeebaengine
|
|
* @copyright Copyright (c)2006-2020 Nicholas K. Dionysopoulos / Akeeba Ltd
|
|
* @license GNU General Public License version 3, or later
|
|
*/
|
|
|
|
namespace Akeeba\Engine\Postproc\Connector\S3v4\Exception;
|
|
|
|
// Protection against direct access
|
|
defined('AKEEBAENGINE') or die();
|
|
|
|
use Exception;
|
|
use RuntimeException;
|
|
|
|
class CannotOpenFileForWrite extends RuntimeException
|
|
{
|
|
public function __construct(string $file = "", int $code = 0, Exception $previous = null)
|
|
{
|
|
$message = "Cannot open $file for writing";
|
|
|
|
parent::__construct($message, $code, $previous);
|
|
}
|
|
|
|
}
|