Exception   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
/**
4
 * Exception
5
 */
6
7
namespace HDNET\Tagger;
8
9
/**
10
 * Class Exception
11
 */
12
class Exception extends \Exception
13
{
14
15
    /**
16
     * Add the wiki Link in Front of the Error Message
17
     *
18
     * @param string $message
19
     * @param integer $code
20
     * @param mixed $previous
21
     */
22
    public function __construct($message, $code = null, $previous = null)
23
    {
24
        $message = 'Tagger Extension Errror: ' . $message . ' --- More Information in the Tager Wiki Code (<a href="http://forge.typo3.org/projects/extension-tagger/wiki/Errors#' . $code . '">More information</a>) or TYPO3 Wiki ';
25
        parent::__construct($message, $code, $previous);
26
    }
27
}
28