class DatabaseAccessDeniedException in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Database/DatabaseAccessDeniedException.php \Drupal\Core\Database\DatabaseAccessDeniedException
- 10 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 DatabaseException
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\DatabaseView source
class DatabaseAccessDeniedException extends \RuntimeException implements DatabaseException {
}