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

NotSupportedException::getName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 1
b 0
f 0
ccs 0
cts 4
cp 0
crap 2
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