#NEWLINE# def mainloop( self ) : #NEWLINE# #INDENT# while ( ( not EventLoop . quit ) and ( EventLoop . status == 'started' ) ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# self . _mainloop ( ) #NEWLINE# #UNINDENT# except BaseException as inst : #NEWLINE# #INDENT# r = ExceptionManager . handle_exception ( r ) #NEWLINE# if ( r == ExceptionManager . RAISE ) : #NEWLINE# #INDENT# stopTouchApp ( ) #NEWLINE# raise #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# pass