Completed
Push — master ( bffabd...e8b86c )
by Sullivan
02:12
created

PayboxException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
namespace Nexy\PayboxDirect\Exception;
4
5
/**
6
 * @author Sullivan Senechal <[email protected]>
7
 */
8
final class PayboxException extends RuntimeException
9
{
10
    /**
11
     * {@inheritdoc}
12
     */
13
    public function __construct($message = '', $code = 0, \Exception $previous = null)
14
    {
15
        parent::__construct($message, $code, $previous);
16
17
        $this->message = sprintf('%05d: %s', $code, $message);
18
    }
19
}
20