You are here

class ExceptionHandler in Drupal 9

Same name in this branch
  1. 9 core/lib/Drupal/Core/Database/ExceptionHandler.php \Drupal\Core\Database\ExceptionHandler
  2. 9 core/lib/Drupal/Core/Database/Driver/mysql/ExceptionHandler.php \Drupal\Core\Database\Driver\mysql\ExceptionHandler
  3. 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

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\corefakeWithAllCustomClasses
View source
class ExceptionHandler extends BaseExceptionHandler {

}

Members

Namesort descending Modifiers Type Description Overrides
ExceptionHandler::handleExecutionException public function Handles exceptions thrown during execution of statement objects. 1
ExceptionHandler::handleStatementException public function Handles exceptions thrown during the preparation of statement objects.