Completed
Push — master ( c7c88d...7873ee )
by Mike
02:24
created

EntryPointException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
eloc 2
nc 1
nop 2
1
<?php
2
3
namespace SugarAPI\SDK\Exception\EntryPoint;
4
5
use SugarAPI\SDK\Exception\SDKException;
6
7
class EntryPointException extends SDKException {
8
9
    protected $message = 'EntryPoint Exception [%s] occurred on EntryPoint %s: %s';
10
11
    public function __construct($EntryPoint,$data) {
12
        parent::__construct(sprintf($this->message,get_called_class(),$EntryPoint,$data));
13
    }
14
15
}