3 DBusException = dbus_bindings.DBusException
4 ConnectionError = dbus_bindings.ConnectionError
6 class MissingErrorHandlerException(DBusException):
8 DBusException.__init__(self, "error_handler not defined: if you define a reply_handler you must also define an error_handler")
10 class MissingReplyHandlerException(DBusException):
12 DBusException.__init__(self, "reply_handler not defined: if you define an error_handler you must also define a reply_handler")
14 class ValidationException(DBusException):
15 def __init__(self, msg=''):
16 DBusException.__init__(self, "Error validating string: %s"%msg)
18 class IntrospectionParserException(DBusException):
19 def __init__(self, msg=''):
20 DBusException.__init__(self, "Error parsing introspect data: %s"%msg)
22 class UnknownMethodException(DBusException):
23 def __init__(self, msg=''):
24 DBusException.__init__("Unknown method: %s"%msg)