This is an automated email from the ASF dual-hosted git repository.

jensg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git


The following commit(s) were added to refs/heads/master by this push:
     new 2ff4b13  THRIFT-4936 add depth limit type exception description 
Client: C++ Patch: pengzhouhu
2ff4b13 is described below

commit 2ff4b13df4fcadf5fba48f23550b09c13390c164
Author: pengzhouhu <[email protected]>
AuthorDate: Thu Aug 22 15:47:37 2019 +0800

    THRIFT-4936 add depth limit type exception description
    Client: C++
    Patch: pengzhouhu
    
    This closes #1852
---
 lib/cpp/src/thrift/protocol/TProtocolException.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/cpp/src/thrift/protocol/TProtocolException.h 
b/lib/cpp/src/thrift/protocol/TProtocolException.h
index 3d44365..4ace904 100644
--- a/lib/cpp/src/thrift/protocol/TProtocolException.h
+++ b/lib/cpp/src/thrift/protocol/TProtocolException.h
@@ -84,6 +84,8 @@ public:
         return "TProtocolException: Invalid version";
       case NOT_IMPLEMENTED:
         return "TProtocolException: Not implemented";
+      case DEPTH_LIMIT:
+        return "TProtocolException: Exceeded depth limit";
       default:
         return "TProtocolException: (Invalid exception type)";
       }

Reply via email to