summaryrefslogtreecommitdiffstats
path: root/src/exceptions/invalid_dimensions.php
blob: e3d98bd5196c034960f9c74f705f16c608da50c1 (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 ezcGraphMatrixInvalidDimensionsException 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 an operation i not possible because of incompatible
 * matrix dimensions.
 *
 * @package Graph
 * @version //autogen//
 */
class ezcGraphMatrixInvalidDimensionsException extends ezcGraphException
{
    public function __construct( $rows, $columns, $dRows, $dColumns )
    {
        parent::__construct( "Matrix <{$dRows}, {$dColumns}> is incompatible with matrix <{$rows}, {$columns}> for requested operation." );
    }
}

?>
OpenPOWER on IntegriCloud