class DatabaseNotFoundException
Same name in other branches
- 9 core/lib/Drupal/Core/Database/DatabaseNotFoundException.php \Drupal\Core\Database\DatabaseNotFoundException
- 8.9.x core/lib/Drupal/Core/Database/DatabaseNotFoundException.php \Drupal\Core\Database\DatabaseNotFoundException
- 10 core/lib/Drupal/Core/Database/DatabaseNotFoundException.php \Drupal\Core\Database\DatabaseNotFoundException
Exception thrown if specified database is not found.
Hierarchy
- class \Drupal\Core\Database\DatabaseNotFoundException extends \Drupal\Core\Database\RuntimeException implements \Drupal\Core\Database\DatabaseException
Expanded class hierarchy of DatabaseNotFoundException
9 files declare their use of DatabaseNotFoundException
- Connection.php in core/
modules/ sqlite/ src/ Driver/ Database/ sqlite/ Connection.php - Connection.php in core/
modules/ mysql/ src/ Driver/ Database/ mysql/ Connection.php - Connection.php in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Connection.php - InstallerRedirectTrait.php in core/
lib/ Drupal/ Core/ Installer/ InstallerRedirectTrait.php - InstallerRedirectTraitTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Installer/ InstallerRedirectTraitTest.php
File
-
core/
lib/ Drupal/ Core/ Database/ DatabaseNotFoundException.php, line 8
Namespace
Drupal\Core\DatabaseView source
class DatabaseNotFoundException extends \RuntimeException implements DatabaseException {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.