Completed
Push — master ( a47eb4...e4e632 )
by Richard
09:13
created

NotSupportedException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 10
rs 10
c 1
b 0
f 0
ccs 0
cts 4
cp 0
wmc 1
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getName() 0 4 1
1
<?php
2
3
namespace Xoops\Core\Exception;
4
5
/**
6
 * NotSupportedException - represents an exception caused by accessing features that are not supported.
7
 *
8
 * @category  Xoops\Core\Exception
9
 * @package   Xoops
10
 * @author    trabis <[email protected]>
11
 * @copyright 2015 XOOPS Project (http://xoops.org)
12
 * @license   GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
13
 * @link      http://xoops.org
14
 */
15
class NotSupportedException extends \Exception
16
{
17
    /**
18
     * @return string the user-friendly name of this exception
19
     */
20
    public function getName()
21
    {
22
        return 'Not Supported';
23
    }
24
}
25