summaryrefslogtreecommitdiffstats
path: root/src/exceptions/out_of_boundings.php
blob: 8fe5848f64705f60d9a86f1a54be088ab3f2945d (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
<?php
/**
 * File containing the ezcGraphMatrixOutOfBoundingsException 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 rrequested matrix value is out of the boundings of 
 * the matrix.
 *
 * @package Graph
 * @version //autogen//
 */
class ezcGraphMatrixOutOfBoundingsException extends ezcGraphException
{
    public function __construct( $rows, $columns, $rPos, $cPos )
    {
        parent::__construct( "Position <{$rPos}, {$cPos}> is out of the matrix boundings <{$rows}, {$columns}>." );
    }
}

?>
OpenPOWER on IntegriCloud