You are here

class DatabaseAccessDeniedException in Drupal 9

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

Exception thrown if access credentials fail.

Hierarchy

Expanded class hierarchy of DatabaseAccessDeniedException

2 files declare their use of DatabaseAccessDeniedException
Connection.php in core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php
Connection.php in core/lib/Drupal/Core/Database/Driver/mysql/Connection.php
1 string reference to 'DatabaseAccessDeniedException'
UncaughtExceptionTest::testLostDatabaseConnection in core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php
Tests the case when the database connection is gone.

File

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

Namespace

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

}

Members