Version 1
[yaffs-website] / web / core / lib / Drupal / Core / Database / InvalidQueryException.php
diff --git a/web/core/lib/Drupal/Core/Database/InvalidQueryException.php b/web/core/lib/Drupal/Core/Database/InvalidQueryException.php
new file mode 100644 (file)
index 0000000..e669d79
--- /dev/null
@@ -0,0 +1,11 @@
+<?php
+
+namespace Drupal\Core\Database;
+
+/**
+ * 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.
+ */
+class InvalidQueryException extends \InvalidArgumentException implements DatabaseException { }