commit | 25df8e7e4ae6bd889a76d1ffacc5ec64da241223 | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Wed Oct 06 17:10:54 2010 +0000 |
committer | David Reiss <dreiss@apache.org> | Wed Oct 06 17:10:54 2010 +0000 |
tree | df9901a4a1c0a9a90d7aaf63a28cef9c664159ea | |
parent | 46e4f252dcc09b40f71635aaeb80476635aa8076 [diff] |
THRIFT-926. cpp: Better exception handling in TSimpleServer Move processing code out of main try block and created individual try/catch's for closing down the client and it's transports (to avoid issues with throwing exceptions from a catch block). Also converted to using GlobalOutput instead of cerr. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1005171 13f79535-47bb-0310-9956-ffa450edef68