THRIFT-1590 Document the excepted return values and behaviors ThriftTest.thrift so that all languages can implement a test server
Patch: Nathaniel Cook

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1333243 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/cpp/src/TestServer.cpp b/test/cpp/src/TestServer.cpp
index f90bde8..c99fbac 100755
--- a/test/cpp/src/TestServer.cpp
+++ b/test/cpp/src/TestServer.cpp
@@ -284,7 +284,7 @@
       e.errorCode = 1001;
       e.message = arg;
       throw e;
-    } else if (arg.compare("ApplicationException") == 0) {
+    } else if (arg.compare("TException") == 0) {
       apache::thrift::TException e;
       throw e;
     } else {