summaryrefslogtreecommitdiffstats
path: root/src/exceptions
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2007-09-04 09:53:56 +0000
committerKore Nordmann <github@kore-nordmann.de>2007-09-04 09:53:56 +0000
commit86d31a8b94e881ad6640bd8fd6c450f15fceb96a (patch)
tree1a84067fa49fb28bddb1d024aec329286f4b0543 /src/exceptions
parent6e5582742fb0e67b71e94e0a9bedc91723c3ef3e (diff)
downloadzetacomponents-graph-86d31a8b94e881ad6640bd8fd6c450f15fceb96a.zip
zetacomponents-graph-86d31a8b94e881ad6640bd8fd6c450f15fceb96a.tar.gz
- Added dataset properties for axis assignements
# More progress on the way to multiple axis support
Diffstat (limited to 'src/exceptions')
-rw-r--r--src/exceptions/invalid_assignement.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/exceptions/invalid_assignement.php b/src/exceptions/invalid_assignement.php
new file mode 100644
index 0000000..2271c98
--- /dev/null
+++ b/src/exceptions/invalid_assignement.php
@@ -0,0 +1,31 @@
+<?php
+/**
+ * File containing the ezcGraphInvalidAssignementException class
+ *
+ * @package Graph
+ * @version //autogentag//
+ * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
+ * @license http://ez.no/licenses/new_bsd New BSD License
+ */
+/**
+ * Exception thrown, when trying a property cannot be set for a data point, but
+ * only for data sets.
+ *
+ * @package Graph
+ * @version //autogentag//
+ */
+class ezcGraphInvalidAssignementException extends ezcGraphException
+{
+ /**
+ * Constructor
+ *
+ * @return void
+ * @ignore
+ */
+ public function __construct()
+ {
+ parent::__construct( "This cannot be set on data points, but only for data sets." );
+ }
+}
+
+?>
OpenPOWER on IntegriCloud