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

Class NoSuchItemError
source code

exceptions.Exception --+        
                       |        
      common.QMException --+    
                           |    
               DatabaseError --+
                               |
                              NoSuchItemError
Known Subclasses:
NoSuchResourceError, NoSuchSuiteError, NoSuchTestError

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

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

Inherited from exceptions.Exception: __getitem__


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: common.QMException.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 
Return a string describing this exception.
Overrides: exceptions.Exception.__str__