class TransactionExplicitCommitNotAllowedException
Same name in other branches
- 9 core/lib/Drupal/Core/Database/TransactionExplicitCommitNotAllowedException.php \Drupal\Core\Database\TransactionExplicitCommitNotAllowedException
- 8.9.x core/lib/Drupal/Core/Database/TransactionExplicitCommitNotAllowedException.php \Drupal\Core\Database\TransactionExplicitCommitNotAllowedException
- 11.x core/lib/Drupal/Core/Database/TransactionExplicitCommitNotAllowedException.php \Drupal\Core\Database\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
1 file declares its use of TransactionExplicitCommitNotAllowedException
- DriverSpecificTransactionTestBase.php in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DriverSpecificTransactionTestBase.php
File
-
core/
lib/ Drupal/ Core/ Database/ TransactionExplicitCommitNotAllowedException.php, line 11
Namespace
Drupal\Core\DatabaseView source
class TransactionExplicitCommitNotAllowedException extends TransactionException implements DatabaseException {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.