Don't catch unknown exceptions if we are only going to rethrow them.
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 26 Apr 2010 12:34:39 +0000 (14:34 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 26 Apr 2010 12:34:39 +0000 (14:34 +0200)
commit8fccaecc28ed1ad0747e516a6f0cb1d350406798
tree53b51cd07f477ab72a54f9fa6f313edb567bd59f
parent2d7579fdb8935ad3cb560d5c56b9e8464f1fe162
Don't catch unknown exceptions if we are only going to rethrow them.

Rethrowing hides the real source of the exception.
src/command_client.cpp
src/command_server.cpp
src/socket_server.cpp
src/socket_wrapper.cpp
test/cmdgroup.cpp
test/newserver.cpp
test/serialize.cpp
test/simplecmd.cpp
test/timeout.cpp