From: Mark Slee Date: Wed, 21 Feb 2007 01:39:23 +0000 (+0000) Subject: Application exception types for Thrift X-Git-Tag: 0.2.0~1466 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=f3d3363c8e624b6773d173dce1f97104f6e47a9b;p=common%2Fthrift.git Application exception types for Thrift Reviewed By: aditya git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665006 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/cpp/src/Thrift.h b/lib/cpp/src/Thrift.h index 61edf5b8..469bb793 100644 --- a/lib/cpp/src/Thrift.h +++ b/lib/cpp/src/Thrift.h @@ -48,7 +48,11 @@ public: */ enum TApplicationExceptionType { UNKNOWN = 0, - INVALID_METHOD = 1, + UNKNOWN_METHOD = 1, + INVALID_MESSAGE_TYPE = 2, + WRONG_METHOD_NAME = 3, + BAD_SEQUENCE_ID = 4, + MISSING_RESULT = 5, }; TApplicationException() :