Add checkStatus method to errorHandler class. Add error checking in queryRD method.