Package qm :: Module common :: Class PythonException
[show private | hide private]
[frames | no frames]

Class PythonException

Exception --+    
            |    
  QMException --+
                |
               PythonException


A 'PythonException' is a wrapper around a Python exception.

A 'PythonException' is a 'QMException' and, as such, can be processed by the QM error-handling routines. However, the raw Python exception which triggered this exception can be obtained by using the 'exc_type' and 'exc_value' attributes of this exception.
Method Summary
  __init__(self, message, exc_type, exc_value)
Construct a new 'PythonException'.
    Inherited from Exception
  __getitem__(...)
  __str__(...)

Method Details

__init__(self, message, exc_type, exc_value)
(Constructor)

Construct a new 'PythonException'.

'message' -- A string describing the cause of the message as structured text. If this exception is not handled, the 'message' will be displayed as an error message.

'exc_type' -- The type of the Python exception.

'exc_value' -- The value of the Python exception.
Overrides:
qm.common.QMException.__init__

Generated by Epydoc 2.1 on Thu Sep 27 15:49:04 2007 http://epydoc.sf.net