thrift/test/VoidMethExceptionsTest.thrift
Alex Kormukhin c9b7bd7b12 THRIFT-5519 Java async client loses exceptions in void methods
Client: java

(cherry picked from commit c4d3e36ed4db97fb6213cc13a4e611a4e658b4b7)
2022-03-02 22:14:55 +01:00

14 lines
574 B
Thrift

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);
}