class TransactionExplicitCommitNotAllowedException in Drupal 9
Same name and namespace in other branches
- 8 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 PDO connection commit() is called. Code should never call this method directly.
Hierarchy
- class \Drupal\Core\Database\TransactionException extends \Drupal\Core\Database\RuntimeException implements DatabaseException
- class \Drupal\Core\Database\TransactionExplicitCommitNotAllowedException implements DatabaseException
Expanded class hierarchy of TransactionExplicitCommitNotAllowedException
File
- core/
lib/ Drupal/ Core/ Database/ TransactionExplicitCommitNotAllowedException.php, line 11
Namespace
Drupal\Core\DatabaseView source
class TransactionExplicitCommitNotAllowedException extends TransactionException implements DatabaseException {
}