Trees | Index | Help |
---|
Package xml :: Package sax :: Module _exceptions :: Class SAXException |
|
object
--+ |BaseException
--+ |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. | |
Inherited from Exception | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
Inherited from BaseException | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
Use of negative indices is not supported. | |
| |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
| |
Inherited from object | |
x.__hash__() <==> hash(x) | |
helper for pickle |
Class Variable Summary | |
---|---|
Inherited from BaseException | |
getset_descriptor |
args = <attribute 'args' of 'exceptions.BaseException' o...
|
member_descriptor |
message = <member 'message' of 'exceptions.BaseException...
|
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 27 16:12:11 2007 | http://epydoc.sf.net |