You are here

class InvalidMergeQueryException in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/Query/InvalidMergeQueryException.php \Drupal\Core\Database\Query\InvalidMergeQueryException
  2. 9 core/lib/Drupal/Core/Database/Query/InvalidMergeQueryException.php \Drupal\Core\Database\Query\InvalidMergeQueryException

Exception thrown for merge queries that do not make semantic sense.

There are many ways that a merge query could be malformed. They should all throw this exception and set an appropriately descriptive message.

Hierarchy

Expanded class hierarchy of InvalidMergeQueryException

1 file declares its use of InvalidMergeQueryException
MergeTest.php in core/tests/Drupal/KernelTests/Core/Database/MergeTest.php
3 string references to 'InvalidMergeQueryException'
drupal7.php in core/modules/tracker/tests/fixtures/drupal7.php
A database agnostic dump for testing purposes.
drupal7.php in core/modules/rdf/tests/fixtures/drupal7.php
A database agnostic dump for testing purposes.
drupal7.php in core/modules/migrate_drupal/tests/fixtures/drupal7.php
A database agnostic dump for testing purposes.

File

core/lib/Drupal/Core/Database/Query/InvalidMergeQueryException.php, line 13

Namespace

Drupal\Core\Database\Query
View source
class InvalidMergeQueryException extends \InvalidArgumentException implements DatabaseException {

}

Members