diff options
| author | Gordon Sim <gsim@apache.org> | 2014-06-25 14:47:51 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2014-06-25 14:47:51 +0000 |
| commit | a1a22c139817675a924dc3947a84cdda83e60e61 (patch) | |
| tree | cf7ebfc4293d5634b3127650f5787b57817b3c30 /qpid/cpp/include | |
| parent | 8a56b5981d2a988cd7145b3447a94dbc01c24857 (diff) | |
| download | qpid-python-a1a22c139817675a924dc3947a84cdda83e60e61.tar.gz | |
QPID-5828: more consistent behaviour os send() when disconnected
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605429 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/include')
| -rw-r--r-- | qpid/cpp/include/qpid/messaging/exceptions.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/qpid/cpp/include/qpid/messaging/exceptions.h b/qpid/cpp/include/qpid/messaging/exceptions.h index 1ad8014940..f1d79b2535 100644 --- a/qpid/cpp/include/qpid/messaging/exceptions.h +++ b/qpid/cpp/include/qpid/messaging/exceptions.h @@ -155,6 +155,16 @@ struct QPID_MESSAGING_CLASS_EXTERN TargetCapacityExceeded : public SendError QPID_MESSAGING_EXTERN TargetCapacityExceeded(const std::string&); }; +/** + * Thrown to indicate that the locally configured sender capacity has + * been reached, and thus no further messages can be put on the replay + * buffer. + */ +struct QPID_MESSAGING_CLASS_EXTERN OutOfCapacity : public SendError +{ + QPID_MESSAGING_EXTERN OutOfCapacity(const std::string&); +}; + struct QPID_MESSAGING_CLASS_EXTERN SessionError : public MessagingException { QPID_MESSAGING_EXTERN SessionError(const std::string&); |
