TransactionExplicitCommitNotAllowedException.php

Same filename in other branches
  1. 8.9.x core/lib/Drupal/Core/Database/TransactionExplicitCommitNotAllowedException.php
  2. 10 core/lib/Drupal/Core/Database/TransactionExplicitCommitNotAllowedException.php
  3. 11.x core/lib/Drupal/Core/Database/TransactionExplicitCommitNotAllowedException.php

Namespace

Drupal\Core\Database

File

core/lib/Drupal/Core/Database/TransactionExplicitCommitNotAllowedException.php

View source
<?php

namespace Drupal\Core\Database;


/**
 * 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.
 */
class TransactionExplicitCommitNotAllowedException extends TransactionException implements DatabaseException {

}

Classes

Title Deprecated Summary
TransactionExplicitCommitNotAllowedException Exception to deny attempts to explicitly manage transactions.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.