D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
php54
/
usr
/
share
/
pear
/
ezc
/
ConsoleTools
/
exceptions
/
Filename :
invalid_option_name.php
back
Copy
<?php /** * File containing the ezcConsoleInvalidOptionNameException. * * @package ConsoleTools * @version 1.6.1 * @copyright Copyright (C) 2005-2010 eZ Systems AS. All rights reserved. * @license http://ez.no/licenses/new_bsd New BSD License */ /** * Thrown if an invalid option name (containing whitespaces or starting with * a "-") was received by {@link ezcConsoleOption::__construct}. * * @package ConsoleTools * @version 1.6.1 */ class ezcConsoleInvalidOptionNameException extends ezcConsoleException { /** * Creates a new exception object. * * @param string $name The affected option name. * @return void */ public function __construct( $name ) { parent::__construct( "The option name '{$name}' is invalid." ); } } ?>