#NEWLINE# def process( self , iprot , oprot ) : #NEWLINE# #INDENT# ( api , seqid , result , call ) = self . process_in ( iprot ) #NEWLINE# if isinstance ( result , TApplicationException ) : #NEWLINE# #INDENT# return self . send_exception ( oprot , api , result , seqid ) #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# result . success = call ( ) #NEWLINE# #UNINDENT# except Exception as e : #NEWLINE# #INDENT# self . handle_exception ( e , self ) #NEWLINE# #UNINDENT# if ( not result . oneway ) : #NEWLINE# #INDENT# self . send_result ( oprot , api , result , seqid )