[ https://issues.apache.org/jira/browse/THRIFT-3011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14339467#comment-14339467 ]
Hudson commented on THRIFT-3011: -------------------------------- SUCCESS: Integrated in Thrift #1464 (See [https://builds.apache.org/job/Thrift/1464/]) THRIFT-3011 C# test server testException() not implemented according to specs (jensg: rev 8b14d179c4a5f6335989fa11ac3c1117daa2f86b) * lib/csharp/test/ThriftTest/TestServer.cs > C# test server testException() not implemented according to specs > ----------------------------------------------------------------- > > Key: THRIFT-3011 > URL: https://issues.apache.org/jira/browse/THRIFT-3011 > Project: Thrift > Issue Type: Bug > Components: C# - Library > Reporter: Jens Geyer > Assignee: Jens Geyer > Fix For: 0.9.3 > > Attachments: > THRIFT-3011-C-test-server-testException-not-implemen.patch > > > {code:title=ThriftTest.thrift} > /** > * Print 'testException(%s)' with arg as '%s' > * @param string arg - a string indication what type of exception to throw > * if arg == "Xception" throw Xception with errorCode = 1001 and message = > arg > * elsen if arg == "TException" throw TException > * else do not throw anything > */ > void testException(1: string arg) throws(1: Xception err1), > {code} > Actual implementation: > {code:title=TestServer.cs} > public void testException(string arg) > { > Console.WriteLine("testException(" + arg + ")"); > if (arg == "Xception") > { > Xception x = new Xception(); > x.ErrorCode = 1001; > x.Message = "This is an Xception"; > throw x; > } > return; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)