summaryrefslogtreecommitdiffstats
path: root/src/exceptions
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-06-27 09:18:13 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-06-27 09:18:13 +0000
commitd6bae028524a0fc548080d7b8ae1d8fa38102248 (patch)
treedf0afe090b02444f05cc092aa53cd9b433e22c49 /src/exceptions
parent50e3d65302d7515cee6b2a677d16bc59d4cf4c8a (diff)
downloadzetacomponents-graph-d6bae028524a0fc548080d7b8ae1d8fa38102248.zip
zetacomponents-graph-d6bae028524a0fc548080d7b8ae1d8fa38102248.tar.gz
- Applied API change for accessing datasets to be able to distinguish easier
between chart elements and datasets # Changes the way datasets are accessed for charts # Old: # $chart->dataset = array( ... ); # New: # $chart['dataset'] = array( ... );
Diffstat (limited to 'src/exceptions')
-rw-r--r--src/exceptions/no_such_element.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/exceptions/no_such_element.php b/src/exceptions/no_such_element.php
new file mode 100644
index 0000000..6832d23
--- /dev/null
+++ b/src/exceptions/no_such_element.php
@@ -0,0 +1,25 @@
+<?php
+/**
+ * File containing the ezcGraphNoSuchElementException class
+ *
+ * @package Graph
+ * @version //autogen//
+ * @copyright Copyright (C) 2005, 2006 eZ systems as. All rights reserved.
+ * @license http://ez.no/licenses/new_bsd New BSD License
+ */
+/**
+ * ezcGraphUnknownChartTypeException is the exception which is thrown when the
+ * factory method tries to return an instance of an unknown chart type
+ *
+ * @package Graph
+ * @version //autogen//
+ */
+class ezcGraphNoSuchElementException extends ezcGraphException
+{
+ public function __construct( $name )
+ {
+ parent::__construct( "No chart element with name <{$name}> found." );
+ }
+}
+
+?>
OpenPOWER on IntegriCloud