interface DatabaseException in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Database/DatabaseException.php \Drupal\Core\Database\DatabaseException
Interface for a database exception.
All Database exceptions should implement this interface so that they can be caught collectively. Note that this applies only to Drupal-spawned exceptions. PDOException will not implement this interface and module developers should account for it separately.
Hierarchy
- interface \Drupal\Core\Database\DatabaseException
Expanded class hierarchy of DatabaseException
All classes that implement DatabaseException
18 files declare their use of DatabaseException
- BatchStorage.php in core/
lib/ Drupal/ Core/ Batch/ BatchStorage.php - Connection.php in core/
lib/ Drupal/ Core/ Database/ Driver/ mysql/ Connection.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
File
- core/
lib/ Drupal/ Core/ Database/ DatabaseException.php, line 14
Namespace
Drupal\Core\DatabaseView source
interface DatabaseException {
}