Python thrift.Thrift.TMessageType.EXCEPTION Examples
The following are 30
code examples of thrift.Thrift.TMessageType.EXCEPTION().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
thrift.Thrift.TMessageType
, or try the search function
.
Example #1
Source File: TableService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_batch(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = batch_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.se is not None: raise result.se raise TApplicationException(TApplicationException.MISSING_RESULT, "batch failed: unknown result");
Example #2
Source File: QueueService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_queryPrivilegedQueue(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = queryPrivilegedQueue_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.e is not None: raise result.e raise TApplicationException(TApplicationException.MISSING_RESULT, "queryPrivilegedQueue failed: unknown result");
Example #3
Source File: EMQBaseService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_getServiceVersion(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = getServiceVersion_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.e is not None: raise result.e raise TApplicationException(TApplicationException.MISSING_RESULT, "getServiceVersion failed: unknown result");
Example #4
Source File: ChannelService.py From LineVodka with GNU General Public License v3.0 | 6 votes |
def recv_approveChannelAndIssueChannelToken(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = approveChannelAndIssueChannelToken_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.e is not None: raise result.e raise TApplicationException(TApplicationException.MISSING_RESULT, "approveChannelAndIssueChannelToken failed: unknown result")
Example #5
Source File: StatisticsService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_getUserUsedQuota(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = getUserUsedQuota_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.e is not None: raise result.e raise TApplicationException(TApplicationException.MISSING_RESULT, "getUserUsedQuota failed: unknown result");
Example #6
Source File: StatisticsService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_getQueueDailyStatisticsState(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = getQueueDailyStatisticsState_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.e is not None: raise result.e raise TApplicationException(TApplicationException.MISSING_RESULT, "getQueueDailyStatisticsState failed: unknown result");
Example #7
Source File: StatisticsService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_getUserInfo(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = getUserInfo_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.e is not None: raise result.e raise TApplicationException(TApplicationException.MISSING_RESULT, "getUserInfo failed: unknown result");
Example #8
Source File: BaseService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_getServerVersion(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = getServerVersion_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.se is not None: raise result.se raise TApplicationException(TApplicationException.MISSING_RESULT, "getServerVersion failed: unknown result");
Example #9
Source File: QueueService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_createTag(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = createTag_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.e is not None: raise result.e raise TApplicationException(TApplicationException.MISSING_RESULT, "createTag failed: unknown result");
Example #10
Source File: QueueService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_listPermissions(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = listPermissions_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.e is not None: raise result.e raise TApplicationException(TApplicationException.MISSING_RESULT, "listPermissions failed: unknown result");
Example #11
Source File: QueueService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_queryPermissionForId(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = queryPermissionForId_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.e is not None: raise result.e raise TApplicationException(TApplicationException.MISSING_RESULT, "queryPermissionForId failed: unknown result");
Example #12
Source File: TableService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_get(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = get_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.se is not None: raise result.se raise TApplicationException(TApplicationException.MISSING_RESULT, "get failed: unknown result");
Example #13
Source File: TableService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_put(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = put_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.se is not None: raise result.se raise TApplicationException(TApplicationException.MISSING_RESULT, "put failed: unknown result");
Example #14
Source File: TableService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_increment(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = increment_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.se is not None: raise result.se raise TApplicationException(TApplicationException.MISSING_RESULT, "increment failed: unknown result");
Example #15
Source File: TableService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_remove(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = remove_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.se is not None: raise result.se raise TApplicationException(TApplicationException.MISSING_RESULT, "remove failed: unknown result");
Example #16
Source File: ChannelService.py From LineVodka with GNU General Public License v3.0 | 6 votes |
def recv_approveChannelAndIssueRequestToken(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = approveChannelAndIssueRequestToken_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.e is not None: raise result.e raise TApplicationException(TApplicationException.MISSING_RESULT, "approveChannelAndIssueRequestToken failed: unknown result")
Example #17
Source File: TableService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_batchCheckAndMutate(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = batchCheckAndMutate_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.se is not None: raise result.se raise TApplicationException(TApplicationException.MISSING_RESULT, "batchCheckAndMutate failed: unknown result");
Example #18
Source File: TableService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_putToRebuildIndex(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = putToRebuildIndex_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.se is not None: raise result.se raise TApplicationException(TApplicationException.MISSING_RESULT, "putToRebuildIndex failed: unknown result");
Example #19
Source File: TableService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_partialAllowedBatch(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = partialAllowedBatch_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.se is not None: raise result.se raise TApplicationException(TApplicationException.MISSING_RESULT, "partialAllowedBatch failed: unknown result");
Example #20
Source File: QueueService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_queryPermission(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = queryPermission_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.e is not None: raise result.e raise TApplicationException(TApplicationException.MISSING_RESULT, "queryPermission failed: unknown result");
Example #21
Source File: QueueService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_setQueueRedrivePolicy(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = setQueueRedrivePolicy_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.e is not None: raise result.e raise TApplicationException(TApplicationException.MISSING_RESULT, "setQueueRedrivePolicy failed: unknown result");
Example #22
Source File: MessageService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_sendMessage(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = sendMessage_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.e is not None: raise result.e raise TApplicationException(TApplicationException.MISSING_RESULT, "sendMessage failed: unknown result");
Example #23
Source File: MessageService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_sendMessageBatch(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = sendMessageBatch_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.e is not None: raise result.e raise TApplicationException(TApplicationException.MISSING_RESULT, "sendMessageBatch failed: unknown result");
Example #24
Source File: AuthService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_createCredential(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = createCredential_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.se is not None: raise result.se raise TApplicationException(TApplicationException.MISSING_RESULT, "createCredential failed: unknown result");
Example #25
Source File: MessageService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_changeMessageVisibilitySecondsBatch(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = changeMessageVisibilitySecondsBatch_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.e is not None: raise result.e raise TApplicationException(TApplicationException.MISSING_RESULT, "changeMessageVisibilitySecondsBatch failed: unknown result");
Example #26
Source File: QueueService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_listQueue(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = listQueue_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.e is not None: raise result.e raise TApplicationException(TApplicationException.MISSING_RESULT, "listQueue failed: unknown result");
Example #27
Source File: MessageService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_deleteMessageBatch(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = deleteMessageBatch_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.e is not None: raise result.e raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteMessageBatch failed: unknown result");
Example #28
Source File: QueueService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_getQueueInfo(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = getQueueInfo_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.e is not None: raise result.e raise TApplicationException(TApplicationException.MISSING_RESULT, "getQueueInfo failed: unknown result");
Example #29
Source File: QueueService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_setQueueAttribute(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = setQueueAttribute_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.e is not None: raise result.e raise TApplicationException(TApplicationException.MISSING_RESULT, "setQueueAttribute failed: unknown result");
Example #30
Source File: QueueService.py From galaxy-sdk-python with Apache License 2.0 | 6 votes |
def recv_createQueue(self): iprot = self._iprot (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(iprot) iprot.readMessageEnd() raise x result = createQueue_result() result.read(iprot) iprot.readMessageEnd() if result.success is not None: return result.success if result.e is not None: raise result.e raise TApplicationException(TApplicationException.MISSING_RESULT, "createQueue failed: unknown result");