commit | 9813cbeda6f15be9bcbfb163ce475f82d7f02839 | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Sat Jan 31 21:39:11 2009 +0000 |
committer | David Reiss <dreiss@apache.org> | Sat Jan 31 21:39:11 2009 +0000 |
tree | 2c12043812a7e5581a3b8766331c9abbd0a5aadf | |
parent | 3166141fbd2152ae7281de95745089dcc4759d7d [diff] [blame] |
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 ce18aaf..602f454 100644 --- a/test/cpp/src/TestServer.cpp +++ b/test/cpp/src/TestServer.cpp
@@ -229,7 +229,7 @@ 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;