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

Class ContextException

source code

              object --+            
                       |            
exceptions.BaseException --+        
                           |        
        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'.
source code

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __str__, __unicode__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

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: object.__init__