QueryException imported.