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 | e37e75591dd1416888301294e4ca83cd940e42c0 (patch) | |
| tree | 396033e6c2e2c3a55541fd783b9b90daebf3226b /cpp/include/qpid | |
| parent | 7e11b6cf044afee27ee82ae2393a8284e644c8f1 (diff) | |
| download | qpid-python-e37e75591dd1416888301294e4ca83cd940e42c0.tar.gz | |
QPID-5828: more consistent behaviour os send() when disconnected
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1605429 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include/qpid')
| -rw-r--r-- | cpp/include/qpid/messaging/exceptions.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cpp/include/qpid/messaging/exceptions.h b/cpp/include/qpid/messaging/exceptions.h index 1ad8014940..f1d79b2535 100644 --- a/cpp/include/qpid/messaging/exceptions.h +++ b/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&); |
