Jens-G commented on a change in pull request #2534:
URL: https://github.com/apache/thrift/pull/2534#discussion_r815147701



##########
File path: test/VoidMethExceptionsTest.thrift
##########
@@ -0,0 +1,13 @@
+namespace java thrift.test.voidmethexceptions
+
+exception TExampleException {
+  1: required string message;
+}
+
+service TAppService01 {
+  string returnString(1: string msg, 2: bool throwException) throws 
(1:TExampleException error);
+  void returnVoidThrows(1: string msg, 2: bool throwException) throws 
(1:TExampleException error);
+  void returnVoidNoThrowsRuntimeException(1: string msg, 2: bool 
throwException);
+  void returnVoidNoThrowsTApplicationException(1: string msg, 2: bool 
throwException);
+  oneway void onewayVoidNoThrows(1: string msg, 2: bool throwException);

Review comment:
       Just to be clear: A oneway does not return anything. Including 
exceptions. There is no return. None.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to