blob: d17267e7fa482bcec941d850629986e467616133 [file]
<?php
/**
* File containing the ezcGraphInvalidArrayDataSourceException class
*
* @package Graph
* @version //autogentag//
* @copyright Copyright (C) 2005-2010 eZ Systems AS. All rights reserved.
* @license http://ez.no/licenses/new_bsd New BSD License
*/
/**
* Exception thrown when an invalid data source is provided for an array
* data set.
*
* @package Graph
* @version //autogentag//
*/
class ezcGraphInvalidArrayDataSourceException extends ezcGraphException
{
/**
* Constructor
*
* @param mixed $value
* @return void
* @ignore
*/
public function __construct( $value )
{
$type = gettype( $value );
parent::__construct( "The array dataset can only use arrays and iterators, but you supplied '{$type}'." );
}
}
?>