Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DatabaseException.php

interface 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

22 files declare their use of DatabaseException
BatchStorage.php in core/lib/Drupal/Core/Batch/BatchStorage.php
DatabaseBackend.php in core/lib/Drupal/Core/Cache/DatabaseBackend.php
DatabaseBackend.php in core/lib/Drupal/Core/Flood/DatabaseBackend.php
DatabaseCacheTagsChecksum.php in core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php
DatabaseLockBackend.php in core/lib/Drupal/Core/Lock/DatabaseLockBackend.php

... See full list

File

core/lib/Drupal/Core/Database/DatabaseException.php, line 13

Namespace

Drupal\Core\Database
View source
interface DatabaseException extends \Throwable {

}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal