PHP Class eZ\Publish\Core\Base\Exceptions\InvalidArgumentException

Usage: throw new InvalidArgumentException( 'nodes', 'array' );
Inheritance: extends eZ\Publish\API\Repository\Exceptions\InvalidArgumentException, implements eZ\Publish\Core\Base\Translatable, use trait eZ\Publish\Core\Base\TranslatableBase
Show file Open project: ezsystems/ezpublish-kernel Class Usage Examples

Public Methods

Method Description
__construct ( string $argumentName, string $whatIsWrong, Exception $previous = null ) Generates: "Argument '{$argumentName}' is invalid: {$whatIsWrong}".

Method Details

__construct() public method

Generates: "Argument '{$argumentName}' is invalid: {$whatIsWrong}".
public __construct ( string $argumentName, string $whatIsWrong, Exception $previous = null )
$argumentName string
$whatIsWrong string
$previous Exception