diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2007-01-03 10:24:05 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2007-01-03 10:24:05 +0000 |
commit | 14aef064149236b6190859b165bb431a4a4802b4 (patch) | |
tree | 8c122ddc14967c76a5e8fcca8abc355dd2e53170 /src/exceptions | |
parent | 3d159bca6c8d9f22203edabd416d30004dca02c5 (diff) | |
download | zetacomponents-graph-14aef064149236b6190859b165bb431a4a4802b4.zip zetacomponents-graph-14aef064149236b6190859b165bb431a4a4802b4.tar.gz |
- Fixed: Bug #9926 (Float values with date axis result in date parsing
exception)
Diffstat (limited to 'src/exceptions')
-rw-r--r-- | src/exceptions/date_parsing.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/exceptions/date_parsing.php b/src/exceptions/date_parsing.php new file mode 100644 index 0000000..34c4b5a --- /dev/null +++ b/src/exceptions/date_parsing.php @@ -0,0 +1,27 @@ +<?php +/** + * File containing the ezcGraphErrorParsingDateException 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 thrown when a date assigned to the ezcGraphChartElementDateAxis + * could not be parsed. + * + * @package Graph + * @version //autogen// + */ +class ezcGraphErrorParsingDateException extends ezcGraphException +{ + public function __construct( $value ) + { + $type = gettype( $value ); + parent::__construct( "Could not parse date '{$value}' of type '{$type}'." ); + } +} + +?> + |