Zeta Components - high quality PHP components

Zeta Components Manual :: Docs For Class ezcBaseSettingValueException

Base::ezcBaseSettingValueException

Class ezcBaseSettingValueException

ezcBaseSettingValueExeception is thrown whenever a value to a class' configuration option is either of the wrong type, or has a wrong value.

Source for this file: /Base/src/exceptions/setting_value.php

Exception
   |
   --ezcBaseException
      |
      --ezcBaseSettingValueException
Version:   //autogen//

Inherited Member Variables

From ezcBaseException
public ezcBaseException::$originalMessage

Method Summary

public ezcBaseSettingValueException __construct( $settingName , $value , [ $expectedValue = null] )
Constructs a new ezcBaseConfigException

Inherited Methods

From ezcBaseException
public ezcBaseException ezcBaseException::__construct()
Constructs a new ezcBaseException with $message

Methods

__construct

ezcBaseSettingValueException __construct( string $settingName , mixed $value , [string $expectedValue = null] )

Constructs a new ezcBaseConfigException

Parameters:
Name Type Description
$settingName string The name of the setting where something was wrong with.
$value mixed The value that the option was tried to be set too.
$expectedValue string A string explaining the allowed type and value range.
Redefinition of:
Method Description
ezcBaseException::__construct() Constructs a new ezcBaseException with $message
Documentation generated by phpDocumentor 1.4.3