Don't catch unknown exceptions if we are only going to rethrow them.
[libt2n] / test / simplecmd.cpp
index 11de9ca..97fa6da 100644 (file)
@@ -224,8 +224,6 @@ BOOST_AUTO_TEST_CASE(SimpleException)
             }
             catch(t2n_runtime_error &e)
                 { ret=e.what(); }
-            catch(...)
-                { throw; }
 
             BOOST_CHECK_EQUAL(string("throw me around"),ret);
         }