Renaming FacetApiException to Exception and make sure we throw an exception when no query types were found