class DatabaseExceptionWrapper in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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
- class \Drupal\Core\Database\DatabaseExceptionWrapper extends \Drupal\Core\Database\RuntimeException implements DatabaseException
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.
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\DatabaseView source
class DatabaseExceptionWrapper extends \RuntimeException implements DatabaseException {
}