class InvalidQueryException extends RuntimeException

An InvalidQueryException is thrown when the query could not be executed. The most common case is setting a non-existing content type or field name.