code: def _ProcessEvent(self, mediator, event):
      
      try:
        self._analysis_plugin.ExamineEvent(mediator, event)
  
      except Exception as exception:  # pylint: disable=broad-except
        self.SignalAbort()
  
        # TODO: write analysis error.
  
        if self._debug_output:
          logger.warning('Unhandled exception while processing event object.')
          logger.exception(exception)
docs: Processes an event.
  
      Args:
        mediator (AnalysisMediator): mediates interactions between
            analysis plugins and other components, such as storage and dfvfs.
        event (EventObject): event.