mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
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:
parent
3166141fbd
commit
9813cbeda6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user