class_docstr: Encapsulate an XML parse error or warning.
  
  This exception will include information for locating the error in
  the original XML document. Note that although the application will
  receive a SAXParseException as the argument to the handlers in the
  ErrorHandler interface, the application is not actually required
  to raise the exception; instead, it can simply read the
  information in it and take a different action.
  
  Since this exception is a subclass of SAXException, it inherits
  the ability to wrap another exception.
docstr: Creates the exception. The exception parameter is allowed to be None.
docstr_tok: ["Creates","the","exception",".","The","exception","parameter","is","allowed","to","be","None","."]
code: def __init__(self, msg, exception, locator):
      "Creates the exception. The exception parameter is allowed to be None."
      SAXException.__init__(self, msg, exception)
      self._locator = locator
  
      # We need to cache this stuff at construction time.
      # If this exception is raised, the objects through which we must
      # traverse to get this information may be deleted by the time
      # it gets caught.
      self._systemId = self._locator.getSystemId()
      self._colnum = self._locator.getColumnNumber()
      self._linenum = self._locator.getLineNumber()
  
imports: import sys
label_desc: Use image node_id 1 to create a new SAXParseException object from inherited base classes: SAXException with example: obj = SAXParseException(msg, exception, locator)