class ConnectionNotDefinedException
Same name in other branches
- 9 core/lib/Drupal/Core/Database/ConnectionNotDefinedException.php \Drupal\Core\Database\ConnectionNotDefinedException
- 8.9.x core/lib/Drupal/Core/Database/ConnectionNotDefinedException.php \Drupal\Core\Database\ConnectionNotDefinedException
- 10 core/lib/Drupal/Core/Database/ConnectionNotDefinedException.php \Drupal\Core\Database\ConnectionNotDefinedException
Exception thrown if an undefined database connection is requested.
Hierarchy
- class \Drupal\Core\Database\ConnectionNotDefinedException extends \Drupal\Core\Database\RuntimeException
Expanded class hierarchy of ConnectionNotDefinedException
7 files declare their use of ConnectionNotDefinedException
- DbCommandBaseTest.php in core/
modules/ system/ tests/ src/ Kernel/ Scripts/ DbCommandBaseTest.php - InstallCommand.php in core/
lib/ Drupal/ Core/ Command/ InstallCommand.php - InstallerRedirectTrait.php in core/
lib/ Drupal/ Core/ Installer/ InstallerRedirectTrait.php - ServerCommand.php in core/
lib/ Drupal/ Core/ Command/ ServerCommand.php - SimpletestTestRunResultsStorage.php in core/
lib/ Drupal/ Core/ Test/ SimpletestTestRunResultsStorage.php
File
-
core/
lib/ Drupal/ Core/ Database/ ConnectionNotDefinedException.php, line 8
Namespace
Drupal\Core\DatabaseView source
class ConnectionNotDefinedException extends \RuntimeException {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.