summaryrefslogtreecommitdiff
path: root/test/VoidMethExceptionsTest.thrift
blob: fc759767f4c45682b75e0ebdae206c60cf24e5ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);
}