Replacing std::exception with std::runtime_error

This commit is contained in:
doctaweed
2020-08-26 22:24:03 -06:00
parent 311e025fe9
commit 92976234a1
31 changed files with 123 additions and 123 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
*/
SystemThread& SystemThreadManager::create_thread(const std::string& name) {
if (thread_count >= MAX_SYSTEM_THREADS) {
throw std::exception("Out of System Threads! Please increase MAX_SYSTEM_THREADS");
throw std::runtime_error("Out of System Threads! Please increase MAX_SYSTEM_THREADS");
}
auto& thread = threads[thread_count];