ClassNotFoundException::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 3
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
/*
3
 * citeproc-php
4
 *
5
 * @link        http://github.com/seboettg/citeproc-php for the source repository
6
 * @copyright   Copyright (c) 2016 Sebastian Böttger.
7
 * @license     https://opensource.org/licenses/MIT
8
 */
9
10
namespace Seboettg\CiteProc\Exception;
11
12
use Exception;
13
14
/**
15
 * Class ClassNotFoundException
16
 * @package Seboettg\CiteProc\Exception
17
 *
18
 * @codeCoverageIgnore
19
 *
20
 * @author Sebastian Böttger <[email protected]>
21
 */
22
class ClassNotFoundException extends CiteProcException
23
{
24
25
    public function __construct($class, $code = 0, Exception $previous = null)
26
    {
27
        parent::__construct("Class \"$class\" could not be found.", $code, $previous);
28
    }
29
}
30