class TransactionOutOfOrderException

Same name in other branches
  1. 9 core/lib/Drupal/Core/Database/TransactionOutOfOrderException.php \Drupal\Core\Database\TransactionOutOfOrderException
  2. 8.9.x core/lib/Drupal/Core/Database/TransactionOutOfOrderException.php \Drupal\Core\Database\TransactionOutOfOrderException
  3. 10 core/lib/Drupal/Core/Database/TransactionOutOfOrderException.php \Drupal\Core\Database\TransactionOutOfOrderException

Exception thrown transactions are out of order.

This is thrown when a rollBack() resulted in other active transactions being rolled-back.

Hierarchy

Expanded class hierarchy of TransactionOutOfOrderException

3 files declare their use of TransactionOutOfOrderException
DriverSpecificTransactionTestBase.php in core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php
TransactionManagerBase.php in core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php
TransactionTest.php in core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php

File

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

Namespace

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

}

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