Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / drupal / drupal-driver / src / Drupal / Driver / Exception / UnsupportedDriverActionException.php
diff --git a/vendor/drupal/drupal-driver/src/Drupal/Driver/Exception/UnsupportedDriverActionException.php b/vendor/drupal/drupal-driver/src/Drupal/Driver/Exception/UnsupportedDriverActionException.php
deleted file mode 100644 (file)
index 7e2ce40..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-
-namespace Drupal\Driver\Exception;
-
-use Drupal\Driver\DriverInterface;
-
-/**
- * Unsupported driver action.
- */
-class UnsupportedDriverActionException extends Exception {
-
-  /**
-   * Initializes exception.
-   *
-   * @param string $template
-   *   What is unsupported?
-   * @param DriverInterface $driver
-   *   Driver instance.
-   * @param int $code
-   *   The exception code.
-   * @param \Exception $previous
-   *   Previous exception.
-   */
-  public function __construct($template, DriverInterface $driver, $code = 0, \Exception $previous = NULL) {
-    $message = sprintf($template, get_class($driver));
-
-    parent::__construct($message, $driver, $code, $previous);
-  }
-
-}