X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=src%2Fcommand_client.cpp;h=5d618b25a63d73cc1ef95bf5d924178502444df6;hp=9945a5aecfc8f73345c309c5350650a4e5eb4ea8;hb=8fccaecc28ed1ad0747e516a6f0cb1d350406798;hpb=2d7579fdb8935ad3cb560d5c56b9e8464f1fe162 diff --git a/src/command_client.cpp b/src/command_client.cpp index 9945a5a..5d618b2 100644 --- a/src/command_client.cpp +++ b/src/command_client.cpp @@ -72,10 +72,6 @@ command_client::command_client(client_connection* _c, long long _command_timeout // store a copy of the exception that you can find out details about the error later constructorException = e.clone(); } - catch (...) - { - throw; - } } } @@ -271,8 +267,6 @@ void command_client::send_command(command* cmd, result_container &res) msg << "archive_exception while serializing on client-side, code " << e.code << " (" << e.what() << ")"; throw t2n_serialization_error(msg.str()); } - catch(...) - { throw; } std::ostream* ostr; if ((ostr=c->get_logstream(fulldebug))!=NULL) @@ -297,8 +291,6 @@ void command_client::send_command(command* cmd, result_container &res) msg << "archive_exception while deserializing on client-side, code " << e.code << " (" << e.what() << ")"; throw t2n_serialization_error(msg.str()); } - catch(...) - { throw; } if ((ostr=c->get_logstream(fulldebug))!=NULL) {