Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
ComplexityException
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 __construct
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2/**
3 * @license GPL-2.0-or-later
4 * @file
5 * @ingroup DifferenceEngine
6 */
7
8namespace Wikimedia\Diff;
9
10use Exception;
11
12/**
13 * @newable
14 */
15class ComplexityException extends Exception {
16
17    /**
18     * @stable to call
19     */
20    public function __construct() {
21        parent::__construct( 'Diff is too complex to generate' );
22    }
23}
24
25/** @deprecated class alias since 1.41 */
26class_alias( ComplexityException::class, 'MediaWiki\\Diff\\ComplexityException' );