2022-02-20 20:22:07 +00:00
< ? php
/**
* Akeeba Engine
*
* @ package akeebaengine
2023-12-19 02:28:16 +00:00
* @ copyright Copyright ( c ) 2006 - 2023 Nicholas K . Dionysopoulos / Akeeba Ltd
2022-02-20 20:22:07 +00:00
* @ license GNU General Public License version 3 , or later
*/
2023-12-19 02:28:16 +00:00
namespace Akeeba\S3\Exception ;
2022-02-20 20:22:07 +00:00
// Protection against direct access
2023-12-19 02:28:16 +00:00
defined ( 'AKEEBAENGINE' ) || die ();
2022-02-20 20:22:07 +00:00
use Exception ;
/**
* Invalid Amazon S3 endpoint
*/
class InvalidEndpoint extends ConfigurationError
{
public function __construct ( string $message = " " , int $code = 0 , Exception $previous = null )
{
if ( empty ( $message ))
{
$message = 'The custom S3 endpoint provided is invalid. Do NOT include the protocol (http:// or https://). Valid examples are s3.example.com and www.example.com/s3Api' ;
}
parent :: __construct ( $message , $code , $previous );
}
}