client_wrapper.hxx, socket_wrapper.hxx: reorder member initialization order
[libt2n] / src / command_client.cpp
index 9945a5a..924fdbf 100644 (file)
@@ -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 <config.h>
-#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)
     {