eZPublishCommunityProject  2012.12
eZ\Publish\Core\Base\Exceptions\InvalidArgumentValue Class Reference

Invalid Argument Type Exception implementation. More...

+ Inheritance diagram for eZ\Publish\Core\Base\Exceptions\InvalidArgumentValue:
+ Collaboration diagram for eZ\Publish\Core\Base\Exceptions\InvalidArgumentValue:

Public Member Functions

 __construct ($argumentName, $value, $className=null, Exception $previous=null)
 Generates: "Argument '{$argumentName}' is invalid: '{$value}' is wrong value[ in class '{$className}']". More...
 
- Public Member Functions inherited from eZ\Publish\Core\Base\Exceptions\InvalidArgumentException
 __construct ($argumentName, $whatIsWrong, Exception $previous=null)
 Generates: "Argument '{$argumentName}' is invalid: {$whatIsWrong}". More...
 

Detailed Description

Invalid Argument Type Exception implementation.

: throw new InvalidArgument( 'nodes', 'array' );

Constructor & Destructor Documentation

eZ\Publish\Core\Base\Exceptions\InvalidArgumentValue::__construct (   $argumentName,
  $value,
  $className = null,
Exception  $previous = null 
)

Generates: "Argument '{$argumentName}' is invalid: '{$value}' is wrong value[ in class '{$className}']".

Parameters
string$argumentName
mixed$value
string | null$classNameOptionally to specify class in abstract/parent classes
\Exception | null$previous

The documentation for this class was generated from the following file: