ErrorCommandExecutable::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 3
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
namespace PHPJasper\Exception;
3
/**
4
 * Class ErrorCommandExecutable
5
 * @package PHPJasper\Exception
6
 */
7
class ErrorCommandExecutable extends \Exception
8
{
9
    public function __construct($message = "", $code = 0, Exception $previous = null)
0 ignored issues
show
Bug introduced by
The type PHPJasper\Exception\Exception was not found. Did you mean Exception? If so, make sure to prefix the type with \.
Loading history...
10
    {
11
        $message = 'Your report has an error and couldn \'t be processed!\ Try to output the command using the function `output();` and run it manually in the console.';
12
        parent::__construct($message, $code, $previous);
13
    }
14
}