1 <?php
2 /**
3 * @package Joomla.Libraries
4 * @subpackage Component
5 *
6 * @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
7 * @license GNU General Public License version 2 or later; see LICENSE.txt
8 */
9
10 defined('JPATH_PLATFORM') or die;
11
12 /**
13 * Exception class defining an error for a missing component
14 *
15 * @since 3.7.0
16 */
17 class JComponentExceptionMissing extends InvalidArgumentException
18 {
19 /**
20 * Constructor
21 *
22 * @param string $message The Exception message to throw.
23 * @param integer $code The Exception code.
24 * @param Exception $previous The previous exception used for the exception chaining.
25 *
26 * @since 3.7.0
27 */
28 public function __construct($message = '', $code = 404, Exception $previous = null)
29 {
30 parent::__construct($message, $code, $previous);
31 }
32 }
33