code: def respond_to_version_mismatch_error(self, message):
      if wx.GetApp():
          dialog = wx.MessageDialog(
              parent=None,
              message=message + " Continue?",
              caption="Pipeline version mismatch",
              style=wx.OK | wx.CANCEL | wx.ICON_QUESTION,
          )
  
          if dialog.ShowModal() != wx.ID_OK:
              dialog.Destroy()
  
              raise PipelineLoadCancelledException(message)
  
          dialog.Destroy()
      else:
          super(Pipeline, self).respond_to_version_mismatch_error(
              message
          )
  
file_path: CellProfiler/src/frontend/cellprofiler/gui/pipeline.py
imports: import wx
  from cellprofiler_core import pipeline
  from cellprofiler_core.pipeline.io._v6 import dump
  from cellprofiler_core.pipeline import PipelineLoadCancelledException
label_desc: Use image node_id 2 for calling the Pipeline obj's underlying member method code with example usage: obj.respond_to_version_mismatch_error(message) without return types