Runtime exceptions raised during query option parsing are caught to be re thrown with proper http status codes.