Table of Contents

Class: PythonException qm/common.py

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.

Base Classes   
QMException
    Exception
Methods   
__init__
  __init__ 
__init__ (
        self,
        message,
        exc_type,
        exc_value,
        )

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.

Table of Contents

This document was automatically generated on Mon Jan 3 09:42:29 2005 by HappyDoc version 2.1