1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 14:24:33 +01:00

Remove custom base Exception class

This commit is contained in:
Ted John
2018-01-02 19:23:22 +00:00
parent 61dfb3dac7
commit 02c58a6c5a
41 changed files with 143 additions and 198 deletions

View File

@@ -107,9 +107,9 @@ void NetworkUserManager::Load()
}
json_decref(jsonUsers);
}
catch (const Exception &ex)
catch (const std::exception &ex)
{
Console::Error::WriteLine("Failed to read %s as JSON. %s", path, ex.GetMessage());
Console::Error::WriteLine("Failed to read %s as JSON. %s", path, ex.what());
}
}
}
@@ -127,7 +127,7 @@ void NetworkUserManager::Save()
jsonUsers = Json::ReadFromFile(path);
}
}
catch (const Exception &)
catch (const std::exception &)
{
}