Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / drupal / drupal-driver / src / Drupal / Driver / Exception / Exception.php
diff --git a/vendor/drupal/drupal-driver/src/Drupal/Driver/Exception/Exception.php b/vendor/drupal/drupal-driver/src/Drupal/Driver/Exception/Exception.php
deleted file mode 100644 (file)
index b8b76a8..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-
-namespace Drupal\Driver\Exception;
-
-use Drupal\Driver\DriverInterface;
-
-/**
- * Drupal driver manager base exception class.
- */
-abstract class Exception extends \Exception {
-  private $driver;
-
-  /**
-   * Initializes Drupal driver manager exception.
-   *
-   * @param string $message
-   *   The exception message.
-   * @param DriverInterface $driver
-   *   The driver where the exception occurred.
-   * @param int $code
-   *   Optional exception code. Defaults to 0.
-   * @param \Exception $previous
-   *   Optional previous exception that was thrown.
-   */
-  public function __construct($message, DriverInterface $driver = NULL, $code = 0, \Exception $previous = NULL) {
-    $this->driver = $driver;
-
-    parent::__construct($message, $code, $previous);
-  }
-
-  /**
-   * Returns exception session.
-   *
-   * @return Session
-   *   The exception session.
-   */
-  public function getDriver() {
-    return $this->driver;
-  }
-
-}