summaryrefslogtreecommitdiffstats
path: root/src/exceptions/unknown_color_definition.php
blob: 6810f0c4ec4045b1a5fa53e0973834c7f82db6ba (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
27
28
29
30
31
32
<?php
/**
 * File containing the ezcGraphUnknownColorDefinitionException class
 *
 * @package Graph
 * @version //autogentag//
 * @copyright Copyright (C) 2005-2008 eZ systems as. All rights reserved.
 * @license http://ez.no/licenses/new_bsd New BSD License
 */
/**
 * Exception thrown, when a given value could not be interpreted as a color by
 * {@link ezcGraphColor}.
 *
 * @package Graph
 * @version //autogentag//
 */
class ezcGraphUnknownColorDefinitionException extends ezcGraphException
{
    /**
     * Constructor
     * 
     * @param mixed $definition
     * @return void
     * @ignore
     */
    public function __construct( $definition )
    {
        parent::__construct( "Unknown color definition '{$definition}'." );
    }
}

?>
OpenPOWER on IntegriCloud