From: David Reiss Date: Sat, 31 Jan 2009 21:39:11 +0000 (+0000) Subject: cpp: Make the test server compatible with the Python test client X-Git-Tag: 0.2.0~348 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=9813cbeda6f15be9bcbfb163ce475f82d7f02839;p=common%2Fthrift.git cpp: Make the test server compatible with the Python test client git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@739629 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/cpp/src/TestServer.cpp b/test/cpp/src/TestServer.cpp index ce18aafd..602f454d 100644 --- a/test/cpp/src/TestServer.cpp +++ b/test/cpp/src/TestServer.cpp @@ -229,7 +229,7 @@ class TestHandler : public ThriftTestIf { if (arg.compare("Xception") == 0) { Xception e; e.errorCode = 1001; - e.message = "This is an Xception"; + e.message = arg; throw e; } else if (arg.compare("ApplicationException") == 0) { facebook::thrift::TException e;