ClassNotFoundException::__call()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 2
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
namespace WebStream\Exception\Extend;
3
4
use WebStream\Exception\ApplicationException;
5
6
/**
7
 * ClassNotFoundException
8
 * @author Ryuichi TANAKA.
9
 * @since 2013/12/14
10
 * @version 0.4
11
 */
12
class ClassNotFoundException extends ApplicationException
13
{
14
    /**
15
     * constructor
16
     */
17
    public function __construct($message = null)
18
    {
19
        parent::__construct($message, 500, $this);
20
    }
21
22
    /**
23
     * method missing
24
     */
25
    public function __call($name, $arguments)
26
    {
27
        throw $this;
28
    }
29
}
30