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
This commit is contained in:
David Reiss 2009-01-31 21:39:11 +00:00
parent 3166141fbd
commit 9813cbeda6

View File

@ -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;