diff options
Diffstat (limited to 'qpid/python/qpid/messaging/exceptions.py')
-rw-r--r-- | qpid/python/qpid/messaging/exceptions.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/qpid/python/qpid/messaging/exceptions.py b/qpid/python/qpid/messaging/exceptions.py index 0296d615d9..b941565c51 100644 --- a/qpid/python/qpid/messaging/exceptions.py +++ b/qpid/python/qpid/messaging/exceptions.py @@ -154,3 +154,17 @@ class Empty(FetchError): available within the alloted time. """ pass + +## Message Content errors +class ContentError(MessagingError): + """ + This type of exception will be returned to the application + once, and will not block further requests + """ + pass + +class EncodeError(ContentError): + pass + +class DecodeError(ContentError): + pass |