diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2007-05-24 12:29:24 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2007-05-24 12:29:24 +0000 |
commit | aa49d9ec7aaa79cc42043224386ffc30bf7c7b0f (patch) | |
tree | fd09d73e08ca90ee14e46a76a78095cffeaa0e19 /src/exceptions | |
parent | 4029d5db40e0cc0c59647d1be98ead6602800d9a (diff) | |
download | zetacomponents-graph-aa49d9ec7aaa79cc42043224386ffc30bf7c7b0f.zip zetacomponents-graph-aa49d9ec7aaa79cc42043224386ffc30bf7c7b0f.tar.gz |
- Fixed issue #10842: Pie charts fatal error with datasets with value sum <= 0
Diffstat (limited to 'src/exceptions')
-rw-r--r-- | src/exceptions/invalid_data.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/exceptions/invalid_data.php b/src/exceptions/invalid_data.php new file mode 100644 index 0000000..4c8f3f2 --- /dev/null +++ b/src/exceptions/invalid_data.php @@ -0,0 +1,25 @@ +<?php +/** + * File containing the ezcGraphInvalidDataException 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 invalid data is provided, which cannot be rendered + * for some reason. + * + * @package Graph + * @version //autogen// + */ +class ezcGraphInvalidDataException extends ezcGraphException +{ + public function __construct( $message ) + { + parent::__construct( "You provided unusable data: '$message'." ); + } +} + +?> |