summaryrefslogtreecommitdiffstats
path: root/src/data_container
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-09-21 12:56:01 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-09-21 12:56:01 +0000
commit1a921c1448b7fb0d205afc20034bd725bf9450c0 (patch)
treee581df6ff6c12f9ac70a01759c8bfbfcefaacbda /src/data_container
parent9d8baefbdf52a83adfb2efed5ebe4bd7b7f765a7 (diff)
downloadzetacomponents-graph-1a921c1448b7fb0d205afc20034bd725bf9450c0.zip
zetacomponents-graph-1a921c1448b7fb0d205afc20034bd725bf9450c0.tar.gz
- Added documentation
- Removed no longer used exceptions
Diffstat (limited to 'src/data_container')
-rw-r--r--src/data_container/base.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/data_container/base.php b/src/data_container/base.php
index 84c6379..2ae8365 100644
--- a/src/data_container/base.php
+++ b/src/data_container/base.php
@@ -99,14 +99,14 @@ class ezcGraphChartDataContainer implements ArrayAccess, Iterator, Countable
* @param ezcGraphDataSet$value The dataset to assign.
* @return void
*
- * @throws ezcGraphUnknownDataSetSourceException
+ * @throws ezcBaseValueException
* If supplied value is not an ezcGraphDataSet
*/
public function offsetSet( $key, $value )
{
if ( !$value instanceof ezcGraphDataSet )
{
- throw new ezcGraphUnknownDataSetSourceException( $value );
+ throw new ezcBaseValueException( $key, $value, 'ezcGraphDataSet' );
}
return $this->addDataSet( $key, $value );
OpenPOWER on IntegriCloud