You are here

class ExceptionHandler in Drupal 10

Same name in this branch
  1. 10 core/lib/Drupal/Core/Database/ExceptionHandler.php \Drupal\Core\Database\ExceptionHandler
  2. 10 core/lib/Drupal/Core/Database/Driver/mysql/ExceptionHandler.php \Drupal\Core\Database\Driver\mysql\ExceptionHandler
  3. 10 core/modules/mysql/src/Driver/Database/mysql/ExceptionHandler.php \Drupal\mysql\Driver\Database\mysql\ExceptionHandler
  4. 10 core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/ExceptionHandler.php \Drupal\corefake\Driver\Database\corefakeWithAllCustomClasses\ExceptionHandler
Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Database/Driver/mysql/ExceptionHandler.php \Drupal\Core\Database\Driver\mysql\ExceptionHandler

MySql database exception handler class.

Hierarchy

Expanded class hierarchy of ExceptionHandler

Deprecated

in drupal:9.4.0 and is removed from drupal:11.0.0. The MySQL database driver has been moved to the mysql module.

See also

https://www.drupal.org/node/3129492

1 file declares its use of ExceptionHandler
MysqlDriverLegacyTest.php in core/tests/Drupal/KernelTests/Core/Database/MysqlDriverLegacyTest.php
1 string reference to 'ExceptionHandler'
ConnectionTest::providerGetDriverClass in core/tests/Drupal/Tests/Core/Database/ConnectionTest.php
Data provider for testGetDriverClass().

File

core/lib/Drupal/Core/Database/Driver/mysql/ExceptionHandler.php, line 17

Namespace

Drupal\Core\Database\Driver\mysql
View source
class ExceptionHandler extends MysqlExceptionHandler {

}

Members