You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2018/02/10 18:25:01 UTC

thrift git commit: THRIFT-4492 protected ExceptionType type member of TApplicationException cannot be accessed Client: C# Patch: Jens Geyer

Repository: thrift
Updated Branches:
  refs/heads/master 33d30fcbb -> 35d62edd6


THRIFT-4492 protected ExceptionType type member of TApplicationException cannot be accessed
Client: C#
Patch: Jens Geyer

This closes #1493


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/35d62edd
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/35d62edd
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/35d62edd

Branch: refs/heads/master
Commit: 35d62edd6e9ff84b0fdd472e132a739b663a41c2
Parents: 33d30fc
Author: Jens Geyer <je...@apache.org>
Authored: Sat Feb 10 10:11:08 2018 +0100
Committer: Jens Geyer <je...@apache.org>
Committed: Sat Feb 10 19:24:18 2018 +0100

----------------------------------------------------------------------
 lib/csharp/src/TApplicationException.cs | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/35d62edd/lib/csharp/src/TApplicationException.cs
----------------------------------------------------------------------
diff --git a/lib/csharp/src/TApplicationException.cs b/lib/csharp/src/TApplicationException.cs
index 4c0d3a3..409aa4d 100644
--- a/lib/csharp/src/TApplicationException.cs
+++ b/lib/csharp/src/TApplicationException.cs
@@ -137,5 +137,10 @@ namespace Thrift
             InvalidProtocol,
             UnsupportedClientType
         }
+
+        public ExceptionType Type
+        {
+            get { return type; }
+        }
     }
 }