eZPublishCommunityProject  2013.6
eZ\Publish\Core\Base\Exceptions\BadConfiguration Class Reference

BadConfiguration Exception implementation. More...

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

Public Member Functions

 __construct ($setting, $consequence=null, Exception $previous=null)
 Generates: '$setting' setting is invalid[, $consequence]. More...

Detailed Description

BadConfiguration Exception implementation.

Use: throw new BadConfiguration( "base\\[configuration]\\parsers", "could not parse configuration files" );

Add a exception type in API that uses Logic exception and change this to extend it

Constructor & Destructor Documentation

eZ\Publish\Core\Base\Exceptions\BadConfiguration::__construct (   $setting,
  $consequence = null,
Exception  $previous = null 

Generates: '$setting' setting is invalid[, $consequence].

string | null$consequenceOptional string to explain consequence of configuration mistake
\Exception | null$previous

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