You are here

class UnsupportedDriverActionException in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink/src/Exception/UnsupportedDriverActionException.php \Behat\Mink\Exception\UnsupportedDriverActionException

Exception thrown by drivers when they don't support the requested action.

@author Konstantin Kudryashov <ever.zet@gmail.com>

Hierarchy

Expanded class hierarchy of UnsupportedDriverActionException

4 files declare their use of UnsupportedDriverActionException
BrowserKitDriver.php in vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php
CoreDriver.php in vendor/behat/mink/src/Driver/CoreDriver.php
DriverInterface.php in vendor/behat/mink/src/Driver/DriverInterface.php
TestCase.php in vendor/behat/mink/driver-testsuite/tests/TestCase.php

File

vendor/behat/mink/src/Exception/UnsupportedDriverActionException.php, line 20

Namespace

Behat\Mink\Exception
View source
class UnsupportedDriverActionException extends DriverException {

  /**
   * Initializes exception.
   *
   * @param string          $template what is unsupported?
   * @param DriverInterface $driver   driver instance
   * @param \Exception      $previous previous exception
   */
  public function __construct($template, DriverInterface $driver, \Exception $previous = null) {
    $message = sprintf($template, get_class($driver));
    parent::__construct($message, 0, $previous);
  }

}

Members