summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/Exception.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-05-09 18:46:17 +0000
committerAlan Conway <aconway@apache.org>2008-05-09 18:46:17 +0000
commitb0f3edfa2a68ccf34aa7a555d0d37c2e17b8421b (patch)
treea94c5a579769809f4d398f4c65ad579a432b93fd /cpp/src/qpid/Exception.h
parent2ebccc4f3ab6e7813ac2179c8318163ffdd22cff (diff)
downloadqpid-python-b0f3edfa2a68ccf34aa7a555d0d37c2e17b8421b.tar.gz
Support for 0-10 sessions, not yet integrated. Misc minor fixes.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@654913 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/Exception.h')
-rw-r--r--cpp/src/qpid/Exception.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/Exception.h b/cpp/src/qpid/Exception.h
index e74fa79ed9..1be433f17a 100644
--- a/cpp/src/qpid/Exception.h
+++ b/cpp/src/qpid/Exception.h
@@ -43,10 +43,10 @@ class Exception : public std::exception
public:
explicit Exception(const std::string& message=std::string()) throw();
virtual ~Exception() throw();
- virtual const char* what() const throw();
+ virtual const char* what() const throw(); // prefix: message
+ virtual std::string getMessage() const; // Unprefixed message
+ virtual std::string getPrefix() const; // Prefix
- protected:
- std::string getPrefix() const;
private:
std::string message;
mutable std::string whatStr;