BootstrapException::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 3
1
<?php
2
3
namespace Drupal\Driver\Exception;
4
5
/**
6
 * Bootstrap exception.
7
 */
8
class BootstrapException extends Exception {
9
10
  /**
11
   * Initializes exception.
12
   *
13
   * @param string $message
14
   *   The exception message.
15
   * @param int $code
16
   *   Optional exception code. Defaults to 0.
17
   * @param \Exception $previous
18
   *   Optional previous exception that was thrown.
19
   */
20
  public function __construct($message, $code = 0, \Exception $previous = NULL) {
21
    parent::__construct($message, NULL, $code, $previous);
22
  }
23
24
}
25