Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DatabaseNotFoundException.php

class 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/pgsql/src/Driver/Database/pgsql/Connection.php
Connection.php in core/modules/sqlite/src/Driver/Database/sqlite/Connection.php
Connection.php in core/modules/mysql/src/Driver/Database/mysql/Connection.php
InstallerRedirectTrait.php in core/lib/Drupal/Core/Installer/InstallerRedirectTrait.php
MigrateMessageController.php in core/modules/migrate/src/Controller/MigrateMessageController.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 {

}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal