eZPublishCommunityProject  2013.5
eZ\Publish\Core\Base\Exceptions\BadStateException Class Reference

BadState Exception implementation. More...

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

Public Member Functions

 __construct ($argumentName, $whatIsWrong, Exception $previous=null)
 Generates: "Argument '{$argumentName}' has a bad state: {$whatIsWrong}". More...
 

Detailed Description

BadState Exception implementation.

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

Constructor & Destructor Documentation

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

Generates: "Argument '{$argumentName}' has a bad state: {$whatIsWrong}".

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

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