X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=src%2Fcommand_client.cpp;h=924fdbf59c10e90b3a9fd882073823ed73b7c038;hp=9945a5aecfc8f73345c309c5350650a4e5eb4ea8;hb=44b4600fd51677e54dd167734ca9252b58237cda;hpb=19facd8558fe2e32ce843860b40631ebe03ff3cf diff --git a/src/command_client.cpp b/src/command_client.cpp index 9945a5a..924fdbf 100644 --- a/src/command_client.cpp +++ b/src/command_client.cpp @@ -33,9 +33,7 @@ on this file might be covered by the GNU General Public License. #include "command_client.hxx" -#ifdef HAVE_CONFIG_H #include -#endif using namespace std; @@ -72,10 +70,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 +265,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 +289,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) {