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

2 files declare their use of QueryException
Query.php in drupal/core/modules/field/modules/field_sql_storage/lib/Drupal/field_sql_storage/Entity/Query.php
Definition of Drupal\field_sql_storage\Entity\Query.
Tables.php in drupal/core/modules/field/modules/field_sql_storage/lib/Drupal/field_sql_storage/Entity/Tables.php
Definition of Drupal\field_sql_storage\Entity\Tables.

File

drupal/core/lib/Drupal/Core/Entity/Query/QueryException.php, line 17
Definition of Drupal\Core\Entity\QueryException.

Namespace

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

}

Members