X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=src%2Fcommand_server.cpp;fp=src%2Fcommand_server.cpp;h=1db24a4dca7d6ca4d74f00ef29c04fd3afe88402;hp=2bb652191ca2d5e824c0d21447dde79439f1b5f1;hb=8fccaecc28ed1ad0747e516a6f0cb1d350406798;hpb=2d7579fdb8935ad3cb560d5c56b9e8464f1fe162 diff --git a/src/command_server.cpp b/src/command_server.cpp index 2bb6521..1db24a4 100644 --- a/src/command_server.cpp +++ b/src/command_server.cpp @@ -102,8 +102,6 @@ void command_server::handle_packet(const std::string& packet, server_connection* "code " << e.code << " (" << e.what() << ")"; res.set_exception(new t2n_serialization_error(msg.str())); } - catch(...) - { throw; } if (!res.has_exception()) { @@ -125,8 +123,6 @@ void command_server::handle_packet(const std::string& packet, server_connection* } catch (t2n_exception &e) { res.set_exception(e.clone()); } - catch (...) - { throw; } } else { @@ -154,8 +150,6 @@ void command_server::handle_packet(const std::string& packet, server_connection* res.set_exception(new t2n_serialization_error(msg.str())); oa << res; } - catch(...) - { throw; } std::ostream* ostr; if ((ostr=s.get_logstream(fulldebug))!=NULL) @@ -196,8 +190,6 @@ void command_server::handle(long long usec_timeout, long long* usec_timeout_rema // shut down a connection with transfer errors (usually write errors) conn->close(); } - catch(...) - { throw; } } } }