You are here

class InvalidQueryException in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/InvalidQueryException.php \Drupal\Core\Database\InvalidQueryException

Exception thrown if a query would be invalid.

This exception is thrown e.g. when trying to have an IN condition with an empty array.

Hierarchy

Expanded class hierarchy of InvalidQueryException

2 files declare their use of InvalidQueryException
Condition.php in core/lib/Drupal/Core/Database/Query/Condition.php
Contains \Drupal\Core\Database\Query\Condition.
SelectTest.php in core/modules/system/src/Tests/Database/SelectTest.php
Contains \Drupal\system\Tests\Database\SelectTest.

File

core/lib/Drupal/Core/Database/InvalidQueryException.php, line 16
Contains \Drupal\Core\Database\InvalidQueryException.

Namespace

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

}

Members