Completed
Push — master ( 584eab...218d7a )
by Daniel
02:26
created

UnknownWhoisException::__construct()   A

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 3
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
namespace MallardDuck\Whois\Exceptions;
3
4
/**
5
 * A basic exception for Missing Arguments.
6
 */
7
class UnknownWhoisException extends \Exception
8
{
9
10
    /**
11
     * Basic Exception Constructor
12
     * @param string           $message  The Exceptions message: this type requires it be related to a missing item.
13
     * @param int              $code     The user defined exception code.
14
     * @param null|\Exception  $previous If present, the previous exception if nested exception.
15
     */
16
    public function __construct($message, $code = 0, \Exception $previous = null)
17
    {
18
        parent::__construct($message, $code, $previous);
19
    }
20
}
21