class UnsupportedDriverActionException in Zircon Profile 8
Same name and namespace in other branches
- 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
- class \Behat\Mink\Exception\Exception
- class \Behat\Mink\Exception\Exception
- class \Behat\Mink\Exception\DriverException
- class \Behat\Mink\Exception\UnsupportedDriverActionException
- class \Behat\Mink\Exception\DriverException
- class \Behat\Mink\Exception\Exception
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\ExceptionView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
UnsupportedDriverActionException:: |
public | function |
Initializes exception. Overrides DriverException:: |