qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject [1/5] qpid-proton git commit: Revert "PROTON-1095: [C++ binding] temporarily disable rasing exception on error"
Date Thu, 28 Jan 2016 15:31:39 GMT
Repository: qpid-proton
Updated Branches:
  refs/heads/0.12.x 1f2cf3452 -> 9e852c5f1


Revert "PROTON-1095: [C++ binding] temporarily disable rasing exception on error"

This reverts commit 1bcfe660e44af1bfc9f6704fc20916a578d5cd25.


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/7c080f1d
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/7c080f1d
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/7c080f1d

Branch: refs/heads/0.12.x
Commit: 7c080f1d22415378c1146e164e1929ffa3fbb97a
Parents: 1f2cf34
Author: Andrew Stitcher <astitcher@apache.org>
Authored: Tue Jan 26 11:48:23 2016 -0500
Committer: Andrew Stitcher <astitcher@apache.org>
Committed: Thu Jan 28 10:23:02 2016 -0500

----------------------------------------------------------------------
 proton-c/bindings/cpp/src/handler.cpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/7c080f1d/proton-c/bindings/cpp/src/handler.cpp
----------------------------------------------------------------------
diff --git a/proton-c/bindings/cpp/src/handler.cpp b/proton-c/bindings/cpp/src/handler.cpp
index 34c19e6..90198b0 100644
--- a/proton-c/bindings/cpp/src/handler.cpp
+++ b/proton-c/bindings/cpp/src/handler.cpp
@@ -61,8 +61,6 @@ void handler::on_transaction_commit(event &e) { on_unhandled(e); }
 void handler::on_transaction_declare(event &e) { on_unhandled(e); }
 
 void handler::on_unhandled(event &) {}
-// XXXXX: FIXME - temporarily disabled exception to keep tests passing
-//void handler::on_unhandled_error(event &, const condition& c) { throw std::runtime_error(c.str());
}
-void handler::on_unhandled_error(event &, const condition& c) {}
+void handler::on_unhandled_error(event &, const condition& c) { throw std::runtime_error(c.str());
}
 
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message