summaryrefslogtreecommitdiffstats
path: root/src/exceptions
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2007-04-10 15:55:11 +0000
committerKore Nordmann <github@kore-nordmann.de>2007-04-10 15:55:11 +0000
commit4a8c988ef8c41d2989497792dec16886e85ab687 (patch)
tree029c76e6015ad1b7794463efb43dfaba57f12bca /src/exceptions
parentcd7bb19d7881216a0faf754da1446073bbf57ffa (diff)
downloadzetacomponents-graph-4a8c988ef8c41d2989497792dec16886e85ab687.zip
zetacomponents-graph-4a8c988ef8c41d2989497792dec16886e85ab687.tar.gz
- Implemented @TODO: Throw exception when axis with unregular steps is used
with bar charts
Diffstat (limited to 'src/exceptions')
-rw-r--r--src/exceptions/unregular_steps.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/exceptions/unregular_steps.php b/src/exceptions/unregular_steps.php
new file mode 100644
index 0000000..12e9dad
--- /dev/null
+++ b/src/exceptions/unregular_steps.php
@@ -0,0 +1,25 @@
+<?php
+/**
+ * File containing the ezcGraphUnregularStepsException class
+ *
+ * @package Graph
+ * @version //autogen//
+ * @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
+ * @license http://ez.no/licenses/new_bsd New BSD License
+ */
+/**
+ * Exception thrown when a bar chart shouls be rendered on an axis using
+ * unregular step sizes.
+ *
+ * @package Graph
+ * @version //autogen//
+ */
+class ezcGraphUnregularStepsException extends ezcGraphException
+{
+ public function __construct()
+ {
+ parent::__construct( "Bar charts do not support axis with unregualr steps sizes." );
+ }
+}
+
+?>
OpenPOWER on IntegriCloud