Package qm :: Package test :: Module context :: Class ContextException
[hide private]
[frames] | no frames]

Class ContextException
source code

exceptions.Exception --+    
                       |    
      common.QMException --+
                           |
                          ContextException

A 'ContextException' indicates an invalid context variable.

Instance Methods [hide private]
  __init__(self, key, msg="missing context variable")
Construct a new 'ContextException'.

Inherited from exceptions.Exception: __getitem__, __str__


Method Details [hide private]

__init__(self, key, msg="missing context variable")
(Constructor)

source code 

Construct a new 'ContextException'.

'key' -- A string giving the context key for which no valid value was available.

'msg' -- A diagnostic identifier explaining the problem. The message string may contain a fill-in for the key.
Overrides: common.QMException.__init__