Fixed incorrect references to the 'retention.dat' file.

This commit is contained in:
Gunnar Beutner 2012-07-26 11:42:57 +02:00
parent e56e493a00
commit 61e381befc
1 changed files with 2 additions and 2 deletions

View File

@ -237,7 +237,7 @@ void ConfigObject::DumpObjects(const string& filename)
fp.open(filename.c_str());
if (!fp)
throw_exception(runtime_error("Could not open retention.dat file"));
throw_exception(runtime_error("Could not open '" + filename + "' file"));
FIFO::Ptr fifo = boost::make_shared<FIFO>();
@ -296,7 +296,7 @@ void ConfigObject::RestoreObjects(const string& filename)
Variant value = Variant::Deserialize(message);
if (!value.IsObjectType<Dictionary>())
throw_exception(runtime_error("JSON objects in the retention file must be dictionaries."));
throw_exception(runtime_error("JSON objects in the program state file must be dictionaries."));
Dictionary::Ptr persistentObject = value;