BuilderLockedException::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: james
5
 * Date: 18/07/2018
6
 * Time: 12:34
7
 */
8
9
namespace CwsOps\LivePerson\Rest;
10
11
/**
12
 * Class BuilderLockedException
13
 * A BuilderLockedException occurs when the URLBuilder
14
 * has already been locked, but you are trying to pass another URL part.
15
 *
16
 * @package CwsOps\LivePerson\Rest
17
 */
18
class BuilderLockedException extends \Exception
19
{
20
    public function __construct()
21
    {
22
        $message = "The URLBuilder is currently locked";
23
        parent::__construct($message, $code = 500);
24
    }
25
}