If quering process is ended with error state, then throws QueryException, else do nothing.
QueryException
See Implementation
If quering process is ended with error state, then throws QueryException, else do nothing.