commit | b9ff32ae30af5a667efa7d1d3b39687d5758c742 | [log] [tgz] |
---|---|---|
author | Mark Slee <mcslee@apache.org> | 周四 11月 16 01:00:24 2006 +0000 |
committer | Mark Slee <mcslee@apache.org> | 周四 11月 16 01:00:24 2006 +0000 |
tree | 8bd5642b6dacf12f4921703a5602dff272da25bc | |
parent | 588e452bc496c1c9ef3730fce15b1c9796d64c48 [diff] [blame] |
Thrift: C++ peek() method and TException not Exception git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664876 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/server/TNonblockingServer.h b/lib/cpp/src/server/TNonblockingServer.h index faa572f..11b58b1 100644 --- a/lib/cpp/src/server/TNonblockingServer.h +++ b/lib/cpp/src/server/TNonblockingServer.h
@@ -186,7 +186,7 @@ TConnection(int socket, short eventFlags, TNonblockingServer *s) { readBuffer_ = (uint8_t*)malloc(1024); if (readBuffer_ == NULL) { - throw new facebook::thrift::Exception("Out of memory."); + throw new facebook::thrift::TException("Out of memory."); } readBufferSize_ = 1024;