| Trees | Index | Help |
|---|
| Package xml :: Package sax :: Module _exceptions :: Class SAXException |
|
Exception --+
|
SAXException
ParserException| Method Summary | |
|---|---|
Creates an exception. | |
Avoids weird error messages if someone does exception[ix] by mistake, since Exception has __getitem__ defined. | |
Create a string representation of the exception. | |
Return the embedded exception, or None if there was none. | |
Return a message for this exception. | |
| Method Details |
|---|
__init__(self,
msg,
exception=None)
Creates an exception. The message is required, but the exception is
optional.
|
__getitem__(self,
ix)
Avoids weird error messages if someone does exception[ix] by
mistake, since Exception has __getitem__ defined.
|
__str__(self)
Create a string representation of the exception.
|
getException(self)Return the embedded exception, or None if there was none. |
getMessage(self)Return a message for this exception. |
| Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Mon Aug 14 08:26:41 2006 | http://epydoc.sf.net |