interface DatabaseException
Same name in other branches
- 9 core/lib/Drupal/Core/Database/DatabaseException.php \Drupal\Core\Database\DatabaseException
- 8.9.x core/lib/Drupal/Core/Database/DatabaseException.php \Drupal\Core\Database\DatabaseException
- 10 core/lib/Drupal/Core/Database/DatabaseException.php \Drupal\Core\Database\DatabaseException
Interface for a database exception.
Database drivers should catch lower-level database client exceptions and throw exceptions that implement this interface to allow database abstraction in Drupal.
Hierarchy
- interface \Drupal\Core\Database\DatabaseException extends \Drupal\Core\Database\Throwable
Expanded class hierarchy of DatabaseException
All classes that implement DatabaseException
24 files declare their use of DatabaseException
- BatchStorage.php in core/
lib/ Drupal/ Core/ Batch/ BatchStorage.php - DatabaseBackend.php in core/
lib/ Drupal/ Core/ Flood/ DatabaseBackend.php - DatabaseBackend.php in core/
lib/ Drupal/ Core/ Cache/ DatabaseBackend.php - DatabaseCacheTagsChecksum.php in core/
lib/ Drupal/ Core/ Cache/ DatabaseCacheTagsChecksum.php - DatabaseLockBackend.php in core/
lib/ Drupal/ Core/ Lock/ DatabaseLockBackend.php
File
-
core/
lib/ Drupal/ Core/ Database/ DatabaseException.php, line 13
Namespace
Drupal\Core\DatabaseView source
interface DatabaseException extends \Throwable {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.