home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / lib / python2.4 / site-packages / dbus / exceptions.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2006-08-31  |  2.3 KB  |  49 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.4)
  3.  
  4. import dbus_bindings
  5. DBusException = dbus_bindings.DBusException
  6. ConnectionError = dbus_bindings.ConnectionError
  7.  
  8. class MissingErrorHandlerException(DBusException):
  9.     
  10.     def __init__(self):
  11.         DBusException.__init__(self, 'error_handler not defined: if you define a reply_handler you must also define an error_handler')
  12.  
  13.  
  14.  
  15. class MissingReplyHandlerException(DBusException):
  16.     
  17.     def __init__(self):
  18.         DBusException.__init__(self, 'reply_handler not defined: if you define an error_handler you must also define a reply_handler')
  19.  
  20.  
  21.  
  22. class ValidationException(DBusException):
  23.     
  24.     def __init__(self, msg = ''):
  25.         DBusException.__init__(self, 'Error validating string: %s' % msg)
  26.  
  27.  
  28.  
  29. class IntrospectionParserException(DBusException):
  30.     
  31.     def __init__(self, msg = ''):
  32.         DBusException.__init__(self, 'Error parsing introspect data: %s' % msg)
  33.  
  34.  
  35.  
  36. class UnknownMethodException(DBusException):
  37.     
  38.     def __init__(self, method):
  39.         DBusException.__init__(self, 'Unknown method: %s' % method)
  40.  
  41.  
  42.  
  43. class NameExistsException(DBusException):
  44.     
  45.     def __init__(self, name):
  46.         DBusException.__init__(self, 'Bus name already exists: %s' % name)
  47.  
  48.  
  49.