~xavi-garcia-mena/+junk/remote_reader_helpers

« back to all changes in this revision

Viewing changes to include/XmlAsyncReader.h

  • Committer: Xavi Garcia
  • Date: 2014-12-03 16:54:51 UTC
  • Revision ID: xavi.garcia.mena@canonical.com-20141203165451-vkyeijgxws2rgef8
Added more information in exception message

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
    }
164
164
    if (xml.hasError())
165
165
    {
166
 
        error_string = "get_results: ERROR: " + xml.errorString().toStdString() + " at line: " + std::to_string(10);
 
166
        error_string = "XmlAsyncReader::get_results: ERROR: " + xml.errorString().toStdString() + " at line: " +
 
167
                       std::to_string(10);
167
168
    }
168
169
    /* Error handling. */
169
170
    return !xml.hasError();