diff options
| author | Stephen D. Huston <shuston@apache.org> | 2009-10-28 23:47:03 +0000 |
|---|---|---|
| committer | Stephen D. Huston <shuston@apache.org> | 2009-10-28 23:47:03 +0000 |
| commit | e70a7bb7fbed5533690fa0fcea1e157867b2b1fa (patch) | |
| tree | 7daf6f6a7aff694d937ca83a2bc690303b9badfb /cpp/src/qpid/store/StorageProvider.h | |
| parent | 891493f277f6a2895399a955a56bac8f4ef1379a (diff) | |
| download | qpid-python-e70a7bb7fbed5533690fa0fcea1e157867b2b1fa.tar.gz | |
Change StorageProvider::Exception to inherit from qpid::Exception instead of std::exception; allows the broker to catch them and do something other than die without a message.
Fixed exception handling around more ADO ops and correctly handle com exceptions without associated ErrorInfo.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830797 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/store/StorageProvider.h')
| -rw-r--r-- | cpp/src/qpid/store/StorageProvider.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/store/StorageProvider.h b/cpp/src/qpid/store/StorageProvider.h index 701d280e79..5dc10ecf4a 100644 --- a/cpp/src/qpid/store/StorageProvider.h +++ b/cpp/src/qpid/store/StorageProvider.h @@ -25,6 +25,7 @@ #include <map> #include <stdexcept> #include <vector> +#include "qpid/Exception.h" #include "qpid/Plugin.h" #include "qpid/Options.h" #include "qpid/broker/MessageStore.h" @@ -63,7 +64,7 @@ class StorageProvider : public qpid::Plugin, public qpid::broker::MessageStore { public: - class Exception : public std::exception + class Exception : public qpid::Exception { public: virtual ~Exception() throw() {} |
