diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2006-07-14 16:20:12 +0000 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2006-07-14 16:20:12 +0000 |
commit | a929c9a3b465db8b7e17b9b39936c612c2621a7c (patch) | |
tree | d1764257d1bd56f8e6a044516ccfc9bc44f7f9f5 /python/exceptions.py | |
parent | 5efe8e7f1d97931710558495a951e0b35afbfb72 (diff) |
* Remove all bindings
Diffstat (limited to 'python/exceptions.py')
-rw-r--r-- | python/exceptions.py | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/python/exceptions.py b/python/exceptions.py deleted file mode 100644 index 2b01b96e..00000000 --- a/python/exceptions.py +++ /dev/null @@ -1,29 +0,0 @@ -import dbus_bindings - -DBusException = dbus_bindings.DBusException -ConnectionError = dbus_bindings.ConnectionError - -class MissingErrorHandlerException(DBusException): - def __init__(self): - DBusException.__init__(self, "error_handler not defined: if you define a reply_handler you must also define an error_handler") - -class MissingReplyHandlerException(DBusException): - def __init__(self): - DBusException.__init__(self, "reply_handler not defined: if you define an error_handler you must also define a reply_handler") - -class ValidationException(DBusException): - def __init__(self, msg=''): - DBusException.__init__(self, "Error validating string: %s"%msg) - -class IntrospectionParserException(DBusException): - def __init__(self, msg=''): - DBusException.__init__(self, "Error parsing introspect data: %s"%msg) - -class UnknownMethodException(DBusException): - def __init__(self, method): - DBusException.__init__(self, "Unknown method: %s"%method) - -class NameExistsException(DBusException): - def __init__(self, name): - DBusException.__init__(self, "Bus name already exists: %s"%name) - |