CoreFiles by mySites.guru
MissingComponentException.php38 lines, 1,026 bytes, from Joomla_5.0.2-Stable-Full_Package.zip
Raw History Compare with 5.0.1
md5
aafaa74e29aa51d71de3ed134185ed9f
sha1
5b3564cc0f1df2e1751774ec077046d4ab6a146f
sha256
f0cc5c09deb4d979a0770b12cf2bf0bab6d02a48c3ef8f7156b3d9d044928041
<?php

/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Component\Exception;

use Joomla\CMS\Router\Exception\RouteNotFoundException;

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects

/**
 * Exception class defining an error for a missing component
 *
 * @since  3.7.0
 */
class MissingComponentException extends RouteNotFoundException
{
    /**
     * Constructor
     *
     * @param   string      $message   The Exception message to throw.
     * @param   integer     $code      The Exception code.
     * @param   \Exception  $previous  The previous exception used for the exception chaining.
     *
     * @since   3.7.0
     */
    public function __construct($message = '', $code = 404, \Exception $previous = null)
    {
        parent::__construct($message, $code, $previous);
    }
}

The same content is in 24 releases, Joomla 5.0.0-alpha1 to 5.1.0-beta2. See them all, or every version of this file.