Runtime::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 1
c 1
b 0
f 1
nc 1
nop 3
dl 0
loc 3
rs 10
1
<?php
2
3
/**
4
 *      Exception class for runtime occurs
5
 *
6
 *      @package php_EasyPay
7
 *      @version 1.1
8
 *      @author Dmitry Shovchko <[email protected]>
9
 *
10
 */
11
namespace EasyPay\Exception;
12
13
use EasyPay\Log as Log;
14
15
class Runtime extends General implements EInterface
16
{
17
        /**
18
         *      Constructor
19
         *
20
         *      @param string $message
21
         *      @param \Throwable $previous
22
         */
23
        public function __construct($message, $code=0, \Exception $previous=null)
24
        {
25
                parent::__construct($message, $code, $previous, true);
26
        }
27
}
28