You are here

class DatabaseAccessDeniedException in Drupal 10

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

Exception thrown if access credentials fail.

Hierarchy

  • class \Drupal\Core\Database\DatabaseAccessDeniedException extends \Drupal\Core\Database\RuntimeException implements \Drupal\Core\Database\DatabaseException

Expanded class hierarchy of DatabaseAccessDeniedException

2 files declare their use of DatabaseAccessDeniedException
Connection.php in core/modules/pgsql/src/Driver/Database/pgsql/Connection.php
Connection.php in core/modules/mysql/src/Driver/Database/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