eZPublishCommunityProject  2013.9
eZ\Publish\Core\Base\Exceptions\InvalidArgumentException Class Reference

Invalid Argument Type Exception implementation. More...

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

Public Member Functions

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

Detailed Description

Invalid Argument Type Exception implementation.

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

Constructor & Destructor Documentation

eZ\Publish\Core\Base\Exceptions\InvalidArgumentException::__construct (   $argumentName,
  $whatIsWrong,
Exception  $previous = null 
)

Generates: "Argument '{$argumentName}' is invalid: {$whatIsWrong}".

Parameters
string$argumentName
string$whatIsWrong
\Exception | null$previous

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