CoreFiles by mySites.guru
UnknownAssetException.php35 lines, 946 bytes, from Joomla_4.0.0-alpha11-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha10
md5
016140aa2d93c944607d2c3c745a9f3f
sha1
90f1fe664cecd35c1ba3b74b7051b3a8be6e7fe3
sha256
3400f8ba4620d9f79aac86bf69c0005a257a9d4c3bf4e906456bd990291e9740
<?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);
	}
}

The same content is in 5 releases, Joomla 4.0.0-alpha7 to 4.0.0-alpha11. See them all, or every version of this file.