db/simple/Save: migrate from class Error to C++ exceptions

This commit is contained in:
Max Kellermann
2016-10-29 09:45:34 +02:00
parent dea46e8d5a
commit 90a14e14f4
11 changed files with 95 additions and 166 deletions

View File

@@ -136,7 +136,10 @@ private:
void Check() const;
bool Load(Error &error);
/**
* Throws #std::runtime_error on error.
*/
void Load();
Database *LockUmountSteal(const char *uri);
};