diff options
| author | Alan Conway <aconway@apache.org> | 2007-11-07 16:06:31 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-11-07 16:06:31 +0000 |
| commit | d19657d82321b2b5e2cac386c49aa99f82b976fb (patch) | |
| tree | eceb3790181d8b058e207a0847c35024856325b0 /cpp/src/qpid/Exception.h | |
| parent | 5bec8a4a978290a8dd710870a04bd09e9f493c26 (diff) | |
| download | qpid-python-d19657d82321b2b5e2cac386c49aa99f82b976fb.tar.gz | |
Added LocalQueue subscriptions. LocalQueue::pop() provides a "pull"
alternative to the MessageListener::received() "push" API.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@592803 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/Exception.h')
| -rw-r--r-- | cpp/src/qpid/Exception.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cpp/src/qpid/Exception.h b/cpp/src/qpid/Exception.h index 4ca15b37fc..57c7a21234 100644 --- a/cpp/src/qpid/Exception.h +++ b/cpp/src/qpid/Exception.h @@ -61,6 +61,11 @@ struct ConnectionException : public Exception { : Exception(message), code(code_) {} }; -} // namespace qpid +struct ClosedException : public Exception { + static const std::string CLOSED_MESSAGE; + ClosedException(const std::string& msg=CLOSED_MESSAGE) : Exception(msg) {} +}; +} // namespace qpid + #endif /*!_Exception_*/ |
