You are here

class DatabaseNotFoundException in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/DatabaseNotFoundException.php \Drupal\Core\Database\DatabaseNotFoundException
  2. 9 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

8 files declare their use of DatabaseNotFoundException
Connection.php in core/modules/sqlite/src/Driver/Database/sqlite/Connection.php
Connection.php in core/modules/pgsql/src/Driver/Database/pgsql/Connection.php
Connection.php in core/modules/mysql/src/Driver/Database/mysql/Connection.php
InstallerRedirectTrait.php in core/lib/Drupal/Core/Installer/InstallerRedirectTrait.php
InstallerRedirectTraitTest.php in core/tests/Drupal/KernelTests/Core/Installer/InstallerRedirectTraitTest.php

... See full list

File

core/lib/Drupal/Core/Database/DatabaseNotFoundException.php, line 8

Namespace

Drupal\Core\Database
View source
class DatabaseNotFoundException extends \RuntimeException implements DatabaseException {

}

Members