PyDocs

Nav

Structured Markup Processing Tools

SAXException

xml.sax

exception (source)
  • SAXException(msg, exception=None)
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.
Members of SAXException

g

getException
Return the embedded exception, or None if there was none.
getMessage
Return a message for this exception.
0 Examples
No examples for xml.sax/SAXException.
See Also
No see-alsos for xml.sax/SAXException
0 Notes
No notes for SAXException