diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-09-18 08:54:16 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-09-18 08:54:16 +0000 |
commit | 3cf31a8d922b0498dbdad20a682f01cdacd33e93 (patch) | |
tree | e169d24d64b1276d944bcc248146ad735d3e4165 /src/exceptions | |
parent | 50d17a17ed5c69d202b0d5ffc6bd1270cb489972 (diff) | |
download | zetacomponents-graph-3cf31a8d922b0498dbdad20a682f01cdacd33e93.zip zetacomponents-graph-3cf31a8d922b0498dbdad20a682f01cdacd33e93.tar.gz |
- Fixed endless loop on string keys for datasets with average dataset
- Added average dataset tests to test suite
- Updated testfile because of SVG driver modifications
Diffstat (limited to 'src/exceptions')
-rw-r--r-- | src/exceptions/invalid_keys.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/exceptions/invalid_keys.php b/src/exceptions/invalid_keys.php new file mode 100644 index 0000000..29f3137 --- /dev/null +++ b/src/exceptions/invalid_keys.php @@ -0,0 +1,25 @@ +<?php +/** + * File containing the ezcGraphDatasetAverageInvalidKeysException 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 + */ +/** + * ezcGraphDatasetAverageInvalidKeysException 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 ezcGraphDatasetAverageInvalidKeysException extends ezcGraphException +{ + public function __construct( ) + { + parent::__construct( "You can not use non numeric keys with Average datasets." ); + } +} + +?> |