Completed
Push — master ( aecb60...ed27b1 )
by Carsten
04:31
created

Exception   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 15
ccs 3
cts 3
cp 1
rs 10
1
<?php
2
namespace Lenius\Economic\API;
3
4
/**
5
 * @class       Economic_Exception
6
 */
7
class Exception extends \Exception
8
{
9
    /**
10
     * __Construct function.
11
     *
12
     * Redefine the exception so message isn't optional
13
     *
14
     * @access public
15
     * @param string $message
16
     * @param int $code
17
     * @param Exception $previous
18
     */
19 1
    public function __construct($message, $code = 0, Exception $previous = null)
20
    {
21
        // Make sure everything is assigned properly
22 1
        parent::__construct($message, $code, $previous);
23 1
    }
24
}
25