class DatabaseExceptionWrapper
This wrapper class serves only to provide additional debug information.
This class will always wrap a client connection exception, for example \PDOException or \mysqli_sql_exception.
Hierarchy
- class \Drupal\Core\Database\DatabaseExceptionWrapper extends \Drupal\Core\Database\RuntimeException implements \Drupal\Core\Database\DatabaseException
Expanded class hierarchy of DatabaseExceptionWrapper
15 files declare their use of DatabaseExceptionWrapper
- D6NodeDeriver.php in core/
modules/ node/ src/ Plugin/ migrate/ D6NodeDeriver.php - D7NodeDeriver.php in core/
modules/ node/ src/ Plugin/ migrate/ D7NodeDeriver.php - D7TaxonomyTermDeriver.php in core/
modules/ taxonomy/ src/ Plugin/ migrate/ D7TaxonomyTermDeriver.php - Error.php in core/
lib/ Drupal/ Core/ Utility/ Error.php - ExceptionHandler.php in core/
modules/ mysql/ src/ Driver/ Database/ mysql/ ExceptionHandler.php
File
-
core/
lib/ Drupal/ Core/ Database/ DatabaseExceptionWrapper.php, line 11
Namespace
Drupal\Core\DatabaseView source
class DatabaseExceptionWrapper extends \RuntimeException implements DatabaseException {
}