interface DatabaseException in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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
8 files declare their use of DatabaseException
- Connection.php in core/
lib/ Drupal/ Core/ Database/ Driver/ mysql/ Connection.php - Contains \Drupal\Core\Database\Driver\mysql\Connection.
- DbLog.php in core/
modules/ dblog/ src/ Logger/ DbLog.php - Contains \Drupal\dblog\Logger\DbLog.
- FieldsOverlapException.php in core/
lib/ Drupal/ Core/ Database/ Query/ FieldsOverlapException.php - Contains \Drupal\Core\Database\Query\FieldsOverlapException.
- InvalidMergeQueryException.php in core/
lib/ Drupal/ Core/ Database/ Query/ InvalidMergeQueryException.php - Contains \Drupal\Core\Database\Query\InvalidMergeQueryException.
- LargeQueryTest.php in core/
modules/ system/ src/ Tests/ Database/ LargeQueryTest.php - Contains \Drupal\system\Tests\Database\LargeQueryTest.
File
- core/
lib/ Drupal/ Core/ Database/ DatabaseException.php, line 18 - Contains \Drupal\Core\Database\DatabaseException.
Namespace
Drupal\Core\DatabaseView source
interface DatabaseException {
}