MCPcopy Create free account
hub / github.com/apache/thrift / testException

Method testException

test/rb/integration/TestServer.rb:83–91  ·  view source on GitHub ↗
(thing)

Source from the content-addressed store, hash-verified

81 end
82
83 def testException(thing)
84 if thing == "Xception"
85 raise Thrift::Test::Xception, :errorCode => 1001, :message => thing
86 elsif thing == "TException"
87 raise Thrift::Exception, :message => thing
88 else
89 # no-op
90 end
91 end
92
93 def testMultiException(arg0, arg1)
94 if arg0 == "Xception2"

Callers 1

test_exceptionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected