1<?php 2/** 3 * File containing the ezcBaseSettingNotFoundException class. 4 * 5 * @package Base 6 * @version 1.8 7 * @copyright Copyright (C) 2005-2009 eZ Systems AS. All rights reserved. 8 * @license http://ez.no/licenses/new_bsd New BSD License 9 */ 10/** 11 * ezcBaseSettingNotFoundException is thrown whenever there is a name passed as 12 * part as the options array to setOptions() for an option that doesn't exist. 13 * 14 * @package Base 15 * @version 1.8 16 */ 17class ezcBaseSettingNotFoundException extends ezcBaseException 18{ 19 /** 20 * Constructs a new ezcBaseSettingNotFoundException for $settingName. 21 * 22 * @param string $settingName The name of the setting that does not exist. 23 */ 24 function __construct( $settingName ) 25 { 26 parent::__construct( "The setting '{$settingName}' is not a valid configuration setting." ); 27 } 28} 29?> 30