Mercurial > hg > svcore
changeset 605:133418f4e74c
* As prior commit
author | Chris Cannam |
---|---|
date | Tue, 08 Sep 2009 16:53:32 +0000 |
parents | 4541581067f3 |
children | 1415e35881f6 |
files | rdf/RDFFeatureWriter.cpp rdf/RDFFeatureWriter.h |
diffstat | 2 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/rdf/RDFFeatureWriter.cpp Tue Sep 08 16:52:36 2009 +0000 +++ b/rdf/RDFFeatureWriter.cpp Tue Sep 08 16:53:32 2009 +0000 @@ -158,10 +158,7 @@ QTextStream *stream = getOutputStream(trackId, transform.getIdentifier()); if (!stream) { - std::cerr << "RDFFeatureWriter::write: ERROR: No output stream for track id \"" - << trackId.toStdString() << "\" and transform \"" - << transform.getIdentifier().toStdString() << "\"" << std::endl; - throw FileOperationFailed("", "output stream write"); + throw FailedToOpenOutputStream(trackId, transform.getIdentifier()); } if (m_startedStreamTransforms.find(stream) ==
--- a/rdf/RDFFeatureWriter.h Tue Sep 08 16:52:36 2009 +0000 +++ b/rdf/RDFFeatureWriter.h Tue Sep 08 16:53:32 2009 +0000 @@ -59,6 +59,8 @@ virtual void finish(); + virtual QString getWriterTag() const { return "rdf"; } + private: typedef map<QString, PluginRDFDescription> RDFDescriptionMap; // by plugin id RDFDescriptionMap m_rdfDescriptions;