class DatabaseExceptionWrapper

This wrapper class serves only to provide additional debug information.

This class will always wrap a PDOException.

Hierarchy

Expanded class hierarchy of DatabaseExceptionWrapper

3 files declare their use of DatabaseExceptionWrapper
Connection.php in drupal/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php
Definition of Drupal\Core\Database\Driver\mysql\Connection
DatabaseFileUsageBackend.php in drupal/core/modules/file/lib/Drupal/file/FileUsage/DatabaseFileUsageBackend.php
Definition of Drupal\file\FileUsage\DatabaseFileUsageBackend.
Sql.php in drupal/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
Definition of Drupal\views\Plugin\views\query\Sql.
2 string references to 'DatabaseExceptionWrapper'
ErrorHandlerTest::testExceptionHandler in drupal/core/modules/system/lib/Drupal/system/Tests/System/ErrorHandlerTest.php
Test the exception handler.
ExceptionController::decodeException in drupal/core/lib/Drupal/Core/ExceptionController.php
This method is a temporary port of _drupal_decode_exception().

File

drupal/core/lib/Drupal/Core/Database/DatabaseExceptionWrapper.php, line 17
Definition of Drupal\Core\Database\DatabaseExceptionWrapper.

Namespace

Drupal\Core\Database
View source
class DatabaseExceptionWrapper extends RuntimeException implements DatabaseException {

}

Members