Path

ez components / documentation / api reference / 1.1.2 / base


eZ Components 1.1.2

Base: ezcBaseValueException

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcBaseValueException

ezcBaseValueException is thrown whenever the type or value of the given variable is not as expected. [source]

Parents

Exception
   |
   --ezcBaseException
      |
      --ezcBaseValueException

Inherited Member Variables

From ezcBaseException:
public  ezcBaseException::$originalMessage

Method Summary

public ezcBaseValueException __construct( $settingName, $value, [$expectedValue = null] )
Constructs a new ezcBaseValueException on the $name variable.

Inherited Methods

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

Methods

__construct

ezcBaseValueException __construct( string $settingName, mixed $value, [string $expectedValue = null] )
Constructs a new ezcBaseValueException on the $name variable.

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

Last updated: Thu, 01 Nov 2007