You are here

class ConnectionNotDefinedException in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/ConnectionNotDefinedException.php \Drupal\Core\Database\ConnectionNotDefinedException

Exception thrown if an undefined database connection is requested.

Hierarchy

Expanded class hierarchy of ConnectionNotDefinedException

6 files declare their use of ConnectionNotDefinedException
DbCommandBaseTest.php in core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php
Contains \Drupal\Tests\system\Kernel\Scripts\DbCommandBaseTest.
InstallCommand.php in core/lib/Drupal/Core/Command/InstallCommand.php
ServerCommand.php in core/lib/Drupal/Core/Command/ServerCommand.php
SqlBase.php in core/modules/migrate/src/Plugin/migrate/source/SqlBase.php
Tasks.php in core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php

... See full list

File

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

Namespace

Drupal\Core\Database
View source
class ConnectionNotDefinedException extends \RuntimeException {

}

Members