Alex Kormukhin | c9b7bd7 | 2022-02-18 21:04:14 +0300 | [diff] [blame] | 1 | namespace java thrift.test.voidmethexceptions |
| 2 | |
| 3 | exception TExampleException { |
| 4 | 1: required string message; |
| 5 | } |
| 6 | |
| 7 | service TAppService01 { |
| 8 | string returnString(1: string msg, 2: bool throwException) throws (1:TExampleException error); |
| 9 | void returnVoidThrows(1: string msg, 2: bool throwException) throws (1:TExampleException error); |
| 10 | void returnVoidNoThrowsRuntimeException(1: string msg, 2: bool throwException); |
| 11 | void returnVoidNoThrowsTApplicationException(1: string msg, 2: bool throwException); |
| 12 | oneway void onewayVoidNoThrows(1: string msg, 2: bool throwException); |
| 13 | } |