Added custom gl::QueryException.