Remove dynamic exceptions
[anna.git] / source / core / mt / ThreadManager.cpp
index 956e9ae..a680baa 100644 (file)
@@ -68,7 +68,7 @@ ThreadManager::~ThreadManager() {
 }
 
 Thread* ThreadManager::createThread()
-throw(RuntimeException) {
+noexcept(false) {
   Thread* result;
 
   if(a_mode == Mode::None) {
@@ -136,7 +136,7 @@ throw(RuntimeException) {
 }
 
 void ThreadManager::join()
-throw(RuntimeException) {
+noexcept(false) {
   LOGDEBUG(
     string msg("ThreadManager::join (init) | ");
     msg += asString();
@@ -184,7 +184,7 @@ throw(RuntimeException) {
 }
 
 void ThreadManager::releaseThread(Thread* thread)
-throw(RuntimeException) {
+noexcept(false) {
   if(thread->isRunning() == true) {
     string msg(thread->asString());
     msg += " | Still activated";
@@ -210,7 +210,7 @@ throw(RuntimeException) {
 }
 
 string ThreadManager::asString() const
-throw() {
+{
   string result("anna::ThreadManager { Name: ");
   result += a_name;
   result += " | Mode: ";