class_docstr: Encapsulate an XML error or warning. This class can contain
  basic error or warning information from either the XML parser or
  the application: you can subclass it to provide additional
  functionality, or to add localization. Note that although you will
  receive a SAXException as the argument to the handlers in the
  ErrorHandler interface, you are not actually required to raise
  the exception; instead, you can simply read the information in
  it.
docstr: Creates an exception. The message is required, but the exception
  is optional.
docstr_tok: ["Creates","an","exception",".","The","message","is","required",",","but","the","exception","is","optional","."]
code: def __init__(self, msg, exception=None):
      """Creates an exception. The message is required, but the exception
      is optional."""
      self._msg = msg
      self._exception = exception
      Exception.__init__(self, msg)
  
imports: import sys
label_desc: Use image node_id 1 to create a new SAXException object from inherited base classes: Exception with example: obj = SAXException(msg, exception)