CoreFiles by mySites.guru
UnknownAssetException.php35 lines, 947 bytes, from Joomla_4.0.0-alpha12-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha11
md5
09d5b6077e82048072a3a7170be01a85
sha1
e6410043d68f3a7e08894e4c107446b57083d2db
sha256
398edbee0154da68f29e30fb30164becc3750cb453cd5ede111b08a3cea1b6dc
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\WebAsset\Exception;

\defined('JPATH_PLATFORM') or die;

/**
 * Exception class defining an Unknown Asset
 *
 * @since  4.0.0
 */
class UnknownAssetException extends \RuntimeException implements WebAssetExceptionInterface
{
	/**
	 * UnknownAssetException constructor.
	 *
	 * @param   string      $assetName  The asset name.
	 * @param   int         $code       The Exception code.
	 * @param   \Throwable  $previous   The previous throwable used for the exception chaining.
	 *
	 * @since  4.0.0
	 */
	public function __construct(string $assetName, int $code = 0, \Throwable $previous = null)
	{
		$message = 'Unknown asset "' . $assetName . '"';

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

No other release has this exact content. See every version of this file.