Passed
Push — master ( 945dc8...ec757f )
by Mike
02:50
created

EntryPointException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 2
Bugs 1 Features 0
Metric Value
wmc 1
c 2
b 1
f 0
lcom 0
cbo 1
dl 0
loc 9
ccs 3
cts 3
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
/**
3
 * ©[2016] SugarCRM Inc.  Licensed by SugarCRM under the Apache 2.0 license.
4
 */
5
6
namespace SugarAPI\SDK\Exception\EntryPoint;
7
8
use SugarAPI\SDK\Exception\SDKException;
9
10
class EntryPointException extends SDKException {
11
12
    protected $message = 'EntryPoint Exception [%s] occurred on EntryPoint %s: %s';
13
14 1
    public function __construct($EntryPoint, $data){
15 1
        parent::__construct(sprintf($this->message, get_called_class(), $EntryPoint, $data));
16 1
    }
17
18
}