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

AuthenticationException::__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 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
}