catch QueryParseException