diff options
| author | Alan Conway <aconway@apache.org> | 2012-08-01 18:06:36 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2012-08-01 18:06:36 +0000 |
| commit | 966178b688cdb4eea334c16899ac0d81dbcaa9da (patch) | |
| tree | ed2b2e36de5705651f7971cb9e347d495e156c81 /cpp | |
| parent | 4b79d401a28a54a28842f2407ebd495de740b357 (diff) | |
| download | qpid-python-966178b688cdb4eea334c16899ac0d81dbcaa9da.tar.gz | |
QPID-4176: HA Error handling
Added missing throw statements that were omitted in r1367649.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1368149 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
| -rw-r--r-- | cpp/src/qpid/ha/BrokerReplicator.cpp | 1 | ||||
| -rw-r--r-- | cpp/src/qpid/ha/ReplicatingSubscription.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/qpid/ha/BrokerReplicator.cpp b/cpp/src/qpid/ha/BrokerReplicator.cpp index 6a17555b6f..c8c4a42d72 100644 --- a/cpp/src/qpid/ha/BrokerReplicator.cpp +++ b/cpp/src/qpid/ha/BrokerReplicator.cpp @@ -537,6 +537,7 @@ void BrokerReplicator::doResponseHaBroker(Variant::Map& values) { QPID_LOG(critical, logPrefix << "Invalid HA Broker response: " << e.what() << ": " << values); haBroker.shutdown(); + throw; } } diff --git a/cpp/src/qpid/ha/ReplicatingSubscription.cpp b/cpp/src/qpid/ha/ReplicatingSubscription.cpp index 381744b271..c960758eaf 100644 --- a/cpp/src/qpid/ha/ReplicatingSubscription.cpp +++ b/cpp/src/qpid/ha/ReplicatingSubscription.cpp @@ -230,6 +230,7 @@ ReplicatingSubscription::ReplicatingSubscription( catch (const std::exception& e) { QPID_LOG(error, logPrefix << "Creation error: " << e.what() << ": arguments=" << getArguments()); + throw; } } @@ -254,6 +255,7 @@ void ReplicatingSubscription::initialize() { catch (const std::exception& e) { QPID_LOG(error, logPrefix << "Initialization error: " << e.what() << ": arguments=" << getArguments()); + throw; } } |
