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.
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.
|
|