(arg0, arg1)
| 91 | end |
| 92 | |
| 93 | def testMultiException(arg0, arg1) |
| 94 | if arg0 == "Xception2" |
| 95 | raise Thrift::Test::Xception2, :errorCode => 2002, :struct_thing => ::Thrift::Test::Xtruct.new({ :string_thing => 'This is an Xception2' }) |
| 96 | elsif arg0 == "Xception" |
| 97 | raise Thrift::Test::Xception, :errorCode => 1001, :message => 'This is an Xception' |
| 98 | else |
| 99 | return ::Thrift::Test::Xtruct.new({'string_thing' => arg1}) |
| 100 | end |
| 101 | end |
| 102 | |
| 103 | def testOneway(arg0) |
| 104 | sleep(arg0) |
no test coverage detected