You are here

class DatabaseExceptionWrapper in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/DatabaseExceptionWrapper.php \Drupal\Core\Database\DatabaseExceptionWrapper

This wrapper class serves only to provide additional debug information.

This class will always wrap a PDOException.

Hierarchy

Expanded class hierarchy of DatabaseExceptionWrapper

9 files declare their use of DatabaseExceptionWrapper
Connection.php in core/lib/Drupal/Core/Database/Driver/mysql/Connection.php
Contains \Drupal\Core\Database\Driver\mysql\Connection.
ConnectionTest.php in core/modules/system/src/Tests/Database/ConnectionTest.php
Contains \Drupal\system\Tests\Database\ConnectionTest.
DatabaseExceptionWrapperTest.php in core/modules/system/src/Tests/Database/DatabaseExceptionWrapperTest.php
Contains \Drupal\system\Tests\Database\DatabaseExceptionWrapperTest.
EntityDefinitionUpdateTest.php in core/modules/system/src/Tests/Entity/EntityDefinitionUpdateTest.php
Contains \Drupal\system\Tests\Entity\EntityDefinitionUpdateTest.
Error.php in core/lib/Drupal/Core/Utility/Error.php
Contains \Drupal\Core\Utility\Error.

... See full list

1 string reference to 'DatabaseExceptionWrapper'
ErrorHandlerTest::testExceptionHandler in core/modules/system/src/Tests/System/ErrorHandlerTest.php
Test the exception handler.

File

core/lib/Drupal/Core/Database/DatabaseExceptionWrapper.php, line 15
Contains \Drupal\Core\Database\DatabaseExceptionWrapper.

Namespace

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

}

Members