From d19657d82321b2b5e2cac386c49aa99f82b976fb Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 7 Nov 2007 16:06:31 +0000 Subject: 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 --- cpp/src/qpid/Exception.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'cpp/src/qpid/Exception.h') 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_*/ -- cgit v1.2.1