def registerCheckingException(self, exception_msg):
        '''
        Register checking exception. 
        It always generate one critical alarm in check item of CHECK_ITEM_BUILTIN_EXCEPTION_NOTIFY
        '''
        notifyJob = JobStateUpdater(const.CHECK_ITEM_BUILTIN_EXCEPTION_NOTIFY)
        status = const.CHECK_STATUS_CRITICAL
        detail_msg = "Check item %s has exception. Exception message: %s " % (self.itm_code, exception_msg)
        notifyJob.updateNonnumericalResult(status, detail_msg)
dataset/ETHPy150Open harryliu/edwin/edwinServer/common/job_state_updater.py/JobStateUpdater.registerCheckingException/original