summaryrefslogtreecommitdiffstats
path: root/src/exceptions/invalid_image_file.php
blob: 3a55aa6b89f7c84fa8b9dbdf40da6c4546d5515a (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
<?php
/**
 * File containing the ezcGraphInvalidImageFileException 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 file can not be used as a image file.
 *
 * @package Graph
 * @version //autogen//
 */
class ezcGraphInvalidImageFileException extends ezcGraphException
{
    /**
     * Constructor
     * 
     * @param string $image
     * @return void
     * @ignore
     */
    public function __construct( $image )
    {
        parent::__construct( "File '{$image}' is not a valid image." );
    }
}

?>
OpenPOWER on IntegriCloud