Completed
Push — master ( 640397...4ec2f8 )
by Mikael
02:52
created

Exception   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 14
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace Anax\TextFilter\Filter;
4
5
/**
6
 * Filter exceptions.
7
 */
8
class Exception extends \Exception
9
{
10
    /**
11
     * Construct.
12
     *
13
     * @param string $message the Exception message to throw.
14
     * @param int $code the Exception code.
15
     * @param Exception previous the previous exception used for the exception chaining.
16
     */
17 7
    public function __construct($message = "", $code = 0, $previous = null)
18
    {
19 7
        parent::__construct($message, $code, $previous);
20 7
    }
21
}
22