summaryrefslogtreecommitdiffstats
path: root/src/exceptions
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-11-30 09:29:35 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-11-30 09:29:35 +0000
commit5ced6d5c25202717ef3ec1a811cffba6b44bcb79 (patch)
tree9e809048dd794a6d7d95497fe60f11bbcd77cc88 /src/exceptions
parenta624a3e637586a8efc327cd5e8e6021bf3546c00 (diff)
downloadzetacomponents-graph-5ced6d5c25202717ef3ec1a811cffba6b44bcb79.zip
zetacomponents-graph-5ced6d5c25202717ef3ec1a811cffba6b44bcb79.tar.gz
- Fixed bug #9568: (Devision by zero warning)
Diffstat (limited to 'src/exceptions')
-rw-r--r--src/exceptions/no_data.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/exceptions/no_data.php b/src/exceptions/no_data.php
new file mode 100644
index 0000000..68069c8
--- /dev/null
+++ b/src/exceptions/no_data.php
@@ -0,0 +1,24 @@
+<?php
+/**
+ * File containing the ezcGraphNoDataException 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
+ */
+/**
+ * Exception shown, when trying to render a chart without assigning any data.
+ *
+ * @package Graph
+ * @version //autogen//
+ */
+class ezcGraphNoDataException extends ezcGraphException
+{
+ public function __construct()
+ {
+ parent::__construct( "No data sets assigned to chart." );
+ }
+}
+
+?>
OpenPOWER on IntegriCloud