1<?php 2/** 3 * File containing the ezcConsoleOptionNoAliasException. 4 * 5 * @package ConsoleTools 6 * @version 1.6.1 7 * @copyright Copyright (C) 2005-2010 eZ Systems AS. All rights reserved. 8 * @license http://ez.no/licenses/new_bsd New BSD License 9 */ 10 11/** 12 * Occurs if the alias you tried to unregister is not an alias, but a real option. 13 * 14 * @package ConsoleTools 15 * @version 1.6.1 16 */ 17class ezcConsoleOptionNoAliasException extends ezcConsoleException 18{ 19 /** 20 * Creates a new exception object. 21 * 22 * @param string $name The name of the option which is not an alias. 23 * @return void 24 */ 25 public function __construct( $name ) 26 { 27 parent::__construct( "The option name '{$name}' refers to a real parameter, not to an alias." ); 28 } 29} 30 31?> 32