Don't catch unknown exceptions if we are only going to rethrow them.
[libt2n] / test / serialize.cpp
index 598ac4b..3019952 100644 (file)
@@ -171,8 +171,6 @@ BOOST_AUTO_TEST_CASE(ClientSerializeErr)
             }
             catch(t2n_serialization_error &e)
                 { errormsg=e.what(); }
-            catch(...)
-                { throw; }
 
             BOOST_CHECK_EQUAL(string("archive_exception while serializing on client-side, code 2 (unregistered class)"),errormsg);
         }