| <?php |
| /** |
| * File containing the ezcGraphErrorParsingDateException class |
| * |
| * @package Graph |
| * @version //autogentag// |
| * @copyright Copyright (C) 2005-2010 eZ Systems AS. All rights reserved. |
| * @license http://ez.no/licenses/new_bsd New BSD License |
| */ |
| /** |
| * Exception thrown when a date assigned to the |
| * {@link ezcGraphChartElementDateAxis} could not be parsed. |
| * |
| * @package Graph |
| * @version //autogentag// |
| */ |
| class ezcGraphErrorParsingDateException extends ezcGraphException |
| { |
| /** |
| * Constructor |
| * |
| * @param mixed $value |
| * @return void |
| * @ignore |
| */ |
| public function __construct( $value ) |
| { |
| $type = gettype( $value ); |
| parent::__construct( "Could not parse date '{$value}' of type '{$type}'." ); |
| } |
| } |
| |
| ?> |