class DatabaseAccessDeniedException
Same name in other branches
- 9 core/lib/Drupal/Core/Database/DatabaseAccessDeniedException.php \Drupal\Core\Database\DatabaseAccessDeniedException
- 8.9.x 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 \Drupal\Core\Database\DatabaseException
Expanded class hierarchy of DatabaseAccessDeniedException
2 files declare their use of DatabaseAccessDeniedException
- Connection.php in core/
modules/ mysql/ src/ Driver/ Database/ mysql/ Connection.php - Connection.php in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ 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 {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.