summaryrefslogtreecommitdiffstats
path: root/src/exceptions/date_parsing.php
blob: bf3fc0d420026fa11ae9160d5e283ec8a6ae7191 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
/**
 * File containing the ezcGraphErrorParsingDateException 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 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}'." );
    }
}

?>
OpenPOWER on IntegriCloud