Removing throw statements from header files (thanks Peter)

This commit is contained in:
Jonathan Thomas
2017-10-26 18:44:35 -05:00
parent f0f1b92777
commit 2fcb35ddcc
66 changed files with 215 additions and 219 deletions

View File

@@ -350,7 +350,7 @@ Json::Value CacheMemory::JsonValue() {
}
// Load JSON string into this object
void CacheMemory::SetJson(string value) throw(InvalidJSON) {
void CacheMemory::SetJson(string value) {
// Parse JSON string into JSON objects
Json::Value root;
@@ -373,7 +373,7 @@ void CacheMemory::SetJson(string value) throw(InvalidJSON) {
}
// Load Json::JsonValue into this object
void CacheMemory::SetJsonValue(Json::Value root) throw(InvalidFile, ReaderClosed) {
void CacheMemory::SetJsonValue(Json::Value root) {
// Close timeline before we do anything (this also removes all open and closing clips)
Clear();
@@ -383,4 +383,4 @@ void CacheMemory::SetJsonValue(Json::Value root) throw(InvalidFile, ReaderClosed
if (!root["type"].isNull())
cache_type = root["type"].asString();
}
}