Back to index

python3.2  3.2.2
Public Member Functions
xml.sax._exceptions.SAXNotRecognizedException Class Reference
Inheritance diagram for xml.sax._exceptions.SAXNotRecognizedException:
Inheritance graph
Collaboration diagram for xml.sax._exceptions.SAXNotRecognizedException:
Collaboration graph

List of all members.

Public Member Functions

def getMessage
def getException
def __str__
def __getitem__

Detailed Description

Exception class for an unrecognized identifier.

An XMLReader will raise this exception when it is confronted with an
unrecognized feature or property. SAX applications and extensions may
use this class for similar purposes.

Definition at line 105 of file

Member Function Documentation

def xml.sax._exceptions.SAXException.__getitem__ (   self,
) [inherited]
Avoids weird error messages if someone does exception[ix] by
mistake, since Exception has __getitem__ defined.

Definition at line 38 of file

00039     def __getitem__(self, ix):
00040         """Avoids weird error messages if someone does exception[ix] by
00041         mistake, since Exception has __getitem__ defined."""
00042         raise AttributeError("__getitem__")
00045 # ===== SAXPARSEEXCEPTION =====

def xml.sax._exceptions.SAXException.__str__ (   self) [inherited]

Reimplemented in xml.sax._exceptions.SAXParseException.

Definition at line 34 of file

00035     def __str__(self):
00036         "Create a string representation of the exception."
00037         return self._msg

Definition at line 30 of file

00031     def getException(self):
00032         "Return the embedded exception, or None if there was none."
00033         return self._exception

def xml.sax._exceptions.SAXException.getMessage (   self) [inherited]

Definition at line 26 of file

00027     def getMessage(self):
00028         "Return a message for this exception."
00029         return self._msg

The documentation for this class was generated from the following file: