raise exception with unsupported queries