summaryrefslogtreecommitdiff
path: root/python/qpid/messaging/exceptions.py
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2010-06-25 17:09:05 +0000
committerRafael H. Schloming <rhs@apache.org>2010-06-25 17:09:05 +0000
commite9920e89d298dbcc5cd01d0c79616353eb750c43 (patch)
tree6793a83cffe26ab8f15b43be2f7de77b58020f23 /python/qpid/messaging/exceptions.py
parent6b27ee254c81d3121cba7e20368f5c2d1f0fb2c5 (diff)
downloadqpid-python-e9920e89d298dbcc5cd01d0c79616353eb750c43.tar.gz
added optional timeouts to {connection,session,sender,receiver}.close() as well as connection.detach() and {session,sender}.sync()
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@958037 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/messaging/exceptions.py')
-rw-r--r--python/qpid/messaging/exceptions.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/qpid/messaging/exceptions.py b/python/qpid/messaging/exceptions.py
index 0a4941a40f..f640b6bc1a 100644
--- a/python/qpid/messaging/exceptions.py
+++ b/python/qpid/messaging/exceptions.py
@@ -17,6 +17,11 @@
# under the License.
#
+class Timeout(Exception):
+ pass
+
+## Messaging Errors
+
class MessagingError(Exception):
def __init__(self, code=None, text=None, **info):