class ExceptionHandler in Drupal 9
Same name in this branch
- 9 core/lib/Drupal/Core/Database/ExceptionHandler.php \Drupal\Core\Database\ExceptionHandler
- 9 core/lib/Drupal/Core/Database/Driver/mysql/ExceptionHandler.php \Drupal\Core\Database\Driver\mysql\ExceptionHandler
- 9 core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/ExceptionHandler.php \Drupal\corefake\Driver\Database\corefakeWithAllCustomClasses\ExceptionHandler
CorefakeWithAllCustomClasses implementation of \Drupal\Core\Database\ExceptionHandler.
Hierarchy
- class \Drupal\Core\Database\ExceptionHandler
- class \Drupal\corefake\Driver\Database\corefakeWithAllCustomClasses\ExceptionHandler
Expanded class hierarchy of ExceptionHandler
3 string references to 'ExceptionHandler'
- Connection::exceptionHandler in core/
lib/ Drupal/ Core/ Database/ Connection.php - Returns the database exceptions handler.
- Connection::getDriverClass in core/
lib/ Drupal/ Core/ Database/ Connection.php - Gets the driver-specific override class if any for the specified class.
- ConnectionTest::providerGetDriverClass in core/
tests/ Drupal/ Tests/ Core/ Database/ ConnectionTest.php - Data provider for testGetDriverClass().
File
- core/
tests/ fixtures/ database_drivers/ module/ corefake/ src/ Driver/ Database/ corefakeWithAllCustomClasses/ ExceptionHandler.php, line 10
Namespace
Drupal\corefake\Driver\Database\corefakeWithAllCustomClassesView source
class ExceptionHandler extends BaseExceptionHandler {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ExceptionHandler:: |
public | function | Handles exceptions thrown during execution of statement objects. | 1 |
ExceptionHandler:: |
public | function | Handles exceptions thrown during the preparation of statement objects. |