THRIFT-690 add new ApplicationExceptions (INTERNAL_ERROR, PROTOCOL_ERROR) to the following languages: as3, c_glib, cocoa, cpp, erl, hs, js, nodejs, ocaml, perl, py, rb
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1153412 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/TApplicationException.h b/lib/cpp/src/TApplicationException.h
index e125c52..61e6864 100644
--- a/lib/cpp/src/TApplicationException.h
+++ b/lib/cpp/src/TApplicationException.h
@@ -41,7 +41,9 @@
INVALID_MESSAGE_TYPE = 2,
WRONG_METHOD_NAME = 3,
BAD_SEQUENCE_ID = 4,
- MISSING_RESULT = 5
+ MISSING_RESULT = 5,
+ INTERNAL_ERROR = 6,
+ PROTOCOL_ERROR = 7
};
TApplicationException() :