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

AuthenticationException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 9
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace SugarAPI\SDK\Exception\Authentication;
4
5
use SugarAPI\SDK\Exception\SDKException;
6
7
class AuthenticationException extends SDKException {
8
9
    protected $message = 'Authentication Exception [%s] occurred in SDK Client. Message: %s';
10
11
    public function __construct($message) {
12
        parent::__construct(sprintf($this->message,get_called_class(),$message));
13
    }
14
15
}