public void handleAndThrowException() throws QueryException {
        if (_ex != null) {
          if (_ex instanceof QueryException) {
            throw (QueryException) _ex;
          } else if (_ex instanceof CacheRuntimeException) {
            throw (CacheRuntimeException) _ex;
          }
        }
      }
Encapsulates the result for the query on the bucket.
geode-core/src/main/java/org/apache/geode/internal/cache/PRQueryProcessor.java