Total Complexity | 1 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class MissingDataException extends JiraBaseException |
||
16 | { |
||
17 | /** |
||
18 | * @var int Throw a 500 when config variable is missing. |
||
19 | */ |
||
20 | protected $_defaultCode = 500; |
||
21 | |||
22 | /** |
||
23 | * Constructor. |
||
24 | * |
||
25 | * Allows you to create exceptions that are treated as framework errors and disabled |
||
26 | * when debug mode is off. |
||
27 | * |
||
28 | * @param string|array<int, string> $message Either the string of the error message, or an array of attributes |
||
29 | * that are made available in the view, and sprintf()'d into Exception::$_messageTemplate |
||
30 | * @param int|null $code The code of the error, is also the HTTP status code for the error. |
||
31 | * @param \Exception|null $previous the previous exception. |
||
32 | */ |
||
33 | 4 | public function __construct($message = '', $code = null, $previous = null) |
|
40 |