#NEWLINE# @ decorate_set_on_listener ( 'onfailed' , '(self,filename)' ) #NEWLINE# def set_on_failed_listener( self , listener , funcname ) : #NEWLINE# #INDENT# self . eventManager . register_listener ( self . EVENT_ON_FAILED , listener , self )