コード例 #1
0
ファイル: ServerAMD.py プロジェクト: zhoushiyi/ice
 def throwLocalExceptionIdempotent_async(self, cb, current=None):
     cb.ice_exception(Ice.TimeoutException())
コード例 #2
0
 def throwLocalExceptionIdempotent(self, current=None):
     f = Ice.Future()
     f.set_exception(Ice.TimeoutException())
     return f
コード例 #3
0
ファイル: TestI.py プロジェクト: chuanqingli/ice
 def throwLocalExceptionIdempotent(self, current=None):
     raise Ice.TimeoutException()