(no ticket) Propagate exception instead of rethrowing
Client: cpp
Patch: Gaurav Singh

This closes #1999
diff --git a/lib/cpp/test/concurrency/ThreadFactoryTests.h b/lib/cpp/test/concurrency/ThreadFactoryTests.h
index febe3f8..23e46e3 100644
--- a/lib/cpp/test/concurrency/ThreadFactoryTests.h
+++ b/lib/cpp/test/concurrency/ThreadFactoryTests.h
@@ -83,7 +83,7 @@
         } catch (SystemResourceException& e) {
           std::cout << "\t\t\tfailed to create " << lix* count + tix << " thread " << e.what()
                     << std::endl;
-          throw e;
+          throw;
         }
       }
 
@@ -97,7 +97,7 @@
         } catch (SystemResourceException& e) {
           std::cout << "\t\t\tfailed to start  " << lix* count + tix << " thread " << e.what()
                     << std::endl;
-          throw e;
+          throw;
         }
       }