Security update for permissions_by_term
[yaffs-website] / vendor / drupal / drupal-driver / src / Drupal / Driver / Exception / BootstrapException.php
diff --git a/vendor/drupal/drupal-driver/src/Drupal/Driver/Exception/BootstrapException.php b/vendor/drupal/drupal-driver/src/Drupal/Driver/Exception/BootstrapException.php
new file mode 100644 (file)
index 0000000..0ac7a1d
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+
+namespace Drupal\Driver\Exception;
+
+/**
+ * Bootstrap exception.
+ */
+class BootstrapException extends Exception {
+
+  /**
+   * Initializes exception.
+   *
+   * @param string $message
+   *   The exception message.
+   * @param int $code
+   *   Optional exception code. Defaults to 0.
+   * @param \Exception $previous
+   *   Optional previous exception that was thrown.
+   */
+  public function __construct($message, $code = 0, \Exception $previous = NULL) {
+    parent::__construct($message, NULL, $code, $previous);
+  }
+
+}