Completed
Push — master ( 32a55a...fb9711 )
by Mitchel
02:18
created

CertificateNotFoundException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 2
1
<?php
2
3
namespace Bunq\Certificate\Storage;
4
5
use Bunq\Certificate\CertificateType;
6
7
final class CertificateNotFoundException extends \Exception
8
{
9
    /**
10
     * @param CertificateType $certificateType
11
     * @param string          $path
12
     */
13
    public function __construct(CertificateType $certificateType, $path)
14
    {
15
        parent::__construct(sprintf('Could not find certificate "%s" in: %s', $certificateType->toString(), $path), 0, null);
16
    }
17
}
18