code: def __init__(
      self, failed_exceptions, max_failover_attempts, func_name
  ):
      self.failed_exceptions = failed_exceptions
      self.max_failover_attempts = max_failover_attempts
      self.__name__ = func_name
      message = (
          'Failover attempts exceeded maximum ({}) for action "{}". '
          "Exceptions:\n{}".format(
              self.max_failover_attempts,
              self.__name__,
              self.failed_exceptions,
          )
      )
      super(MaxFailoversExceeded, self).__init__(message)
  
imports: import functools
  import inspect
  import logging
  import os
  from distutils.version import LooseVersion
  from xml.etree import ElementTree
  import pyarrow
  import six
  from pyarrow.hdfs import HadoopFileSystem
  from pyarrow.lib import ArrowIOError
  from six.moves.urllib.parse import urlparse
label_desc: Use image node_id 1 to create a new MaxFailoversExceeded object from inherited base classes: RuntimeError with example: obj = MaxFailoversExceeded(failed_exceptions, max_failover_attempts, func_name)