code: def intercept(self, func, error_message):
      error = False
      try:
          func()
      except Exception as e:
          if error_message not in str(e):
              raise Exception(
                  "error_message not in the exception raised. "
                  + "error_message: %s, exception: %s"
                  % (error_message, e)
              )
          error = True
  
      if not error:
          raise Exception("exception is not raised")
  
imports: from __future__ import print_function
  import logging
  import shutil
  from unittest import TestCase
  import keras.backend
  from zoo.common.nncontext import *
  from zoo.feature.image import ImageSet
label_desc: Use image node_id 14 for calling the ZooTestCase obj's underlying member method code with example usage: obj.intercept(func, error_message) without return types