|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /opt/alt-old/php54/usr/share/pear/ezc/ConsoleTools/exceptions/ |
Upload File : |
<?php
/**
* File containing the ezcConsoleArgumentMandatoryViolationException.
*
* @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
*/
/**
* An argument was marked to be mandatory but was not submitted.
* This exception can be caught using {@link ezcConsoleArgumentException}.
*
* @package ConsoleTools
* @version 1.6.1
*/
class ezcConsoleArgumentMandatoryViolationException extends ezcConsoleArgumentException
{
/**
* Creates a new exception object.
*
* @param ezcConsoleArgument $arg The argument object, the violation occured for.
* @return void
*/
public function __construct( ezcConsoleArgument $arg )
{
parent::__construct( "Argument with name '{$arg->name}' is mandatory but was not submitted." );
}
}
?>