qm :: test :: database :: NoSuchItemError :: Class NoSuchItemError
[hide private]
[frames] | no frames]

Class NoSuchItemError

source code

              object --+                
                       |                
exceptions.BaseException --+            
                           |            
        exceptions.Exception --+        
                               |        
              common.QMException --+    
                                   |    
                       DatabaseError --+
                                       |
                                      NoSuchItemError
Known Subclasses:

An exception indicating that a particular item could not be found.

Instance Methods [hide private]
 
__init__(self, kind, item_id)
Construct a new 'QMException'.
source code
 
__str__(self)
Return a string describing this exception.
source code

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __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, kind, item_id)
(Constructor)

source code 

Construct a new 'QMException'.

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

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

Return a string describing this exception.

Overrides: object.__str__