diff options
Diffstat (limited to 'test/VoidMethExceptionsTest.thrift')
-rw-r--r-- | test/VoidMethExceptionsTest.thrift | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/VoidMethExceptionsTest.thrift b/test/VoidMethExceptionsTest.thrift new file mode 100644 index 000000000..fc759767f --- /dev/null +++ b/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); +} |