#NEWLINE# def process_create_sentry_role( self , seqid , iprot , oprot ) : #NEWLINE# #INDENT# args = create_sentry_role_args ( ) #NEWLINE# args . read ( iprot ) #NEWLINE# iprot . readMessageEnd ( ) #NEWLINE# result = create_sentry_role_result ( ) #NEWLINE# try : #NEWLINE# #INDENT# result . success = self . _handler . create_sentry_role ( args . request ) #NEWLINE# msg_type = TMessageType . REPLY #NEWLINE# #UNINDENT# except ( TTransport . TTransportException , KeyboardInterrupt , SystemExit ) : #NEWLINE# #INDENT# raise #NEWLINE# #UNINDENT# except Exception as ex : #NEWLINE# #INDENT# msg_type = TMessageType . EXCEPTION #NEWLINE# logging . exception ( iprot ) #NEWLINE# result = TApplicationException ( TApplicationException . INTERNAL_ERROR , 'Internal error' ) #NEWLINE# #UNINDENT# oprot . writeMessageBegin ( 'create_sentry_role' , msg_type , seqid ) #NEWLINE# result . write ( oprot ) #NEWLINE# oprot . writeMessageEnd ( ) #NEWLINE# oprot . trans . flush ( )