Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. QueryException.php

class QueryException

Exception thrown by Query() on unsupported query syntax.

Some storage modules might not support the full range of the syntax for conditions, and will raise a QueryException when an unsupported condition was specified.

Hierarchy

  • class \Drupal\Core\Entity\Query\QueryException extends \Drupal\Core\Entity\Query\Exception

Expanded class hierarchy of QueryException

5 files declare their use of QueryException
Condition.php in core/lib/Drupal/Core/Config/Entity/Query/Condition.php
Query.php in core/lib/Drupal/Core/Entity/Query/Sql/Query.php
QueryFactory.php in core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php
QueryFactory.php in core/lib/Drupal/Core/Entity/KeyValueStore/Query/QueryFactory.php
Tables.php in core/lib/Drupal/Core/Entity/Query/Sql/Tables.php

File

core/lib/Drupal/Core/Entity/Query/QueryException.php, line 12

Namespace

Drupal\Core\Entity\Query
View source
class QueryException extends \Exception {

}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal