Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TransactionExplicitCommitNotAllowedException.php

class TransactionExplicitCommitNotAllowedException

Exception to deny attempts to explicitly manage transactions.

This exception will be thrown when the client connection commit() is called. Code should never call this method directly.

Hierarchy

  • class \Drupal\Core\Database\TransactionException extends \Drupal\Core\Database\RuntimeException implements \Drupal\Core\Database\DatabaseException
    • class \Drupal\Core\Database\TransactionExplicitCommitNotAllowedException extends \Drupal\Core\Database\TransactionException implements \Drupal\Core\Database\DatabaseException

Expanded class hierarchy of TransactionExplicitCommitNotAllowedException

File

core/lib/Drupal/Core/Database/TransactionExplicitCommitNotAllowedException.php, line 11

Namespace

Drupal\Core\Database
View source
class TransactionExplicitCommitNotAllowedException extends TransactionException implements DatabaseException {

}
RSS feed
Powered by Drupal