class_docstr: Abstract base class for DOM exceptions.
  Exceptions with specific codes are specializations of this class.
code: def __init__(self, *args, **kw):
      if self.__class__ is DOMException:
          raise RuntimeError(
              "DOMException should not be instantiated directly"
          )
      Exception.__init__(self, *args, **kw)
  
imports: from .domreg import getDOMImplementation, registerDOMImplementation
label_desc: Use image node_id 1 to create a new DOMException object from inherited base classes: Exception with example: obj = DOMException()