Your IP : 216.73.216.147


Current Path : /home/lejardintz/www/libraries/fof30/Container/Exception/
Upload File :
Current File : /home/lejardintz/www/libraries/fof30/Container/Exception/NoComponent.php

<?php
/**
 * @package     FOF
 * @copyright   Copyright (c)2010-2019 Nicholas K. Dionysopoulos / Akeeba Ltd
 * @license     GNU GPL version 2 or later
 */

namespace FOF30\Container\Exception;

use Exception;

defined('_JEXEC') or die;

class NoComponent extends \Exception
{
	public function __construct($message = "", $code = 0, Exception $previous = null)
	{
		if (empty($message))
		{
			$message = 'No component specified building the Container object';
		}

		if (empty($code))
		{
			$code = 500;
		}

		parent::__construct($message, $code, $previous);
	}
}