Repository: qpid-proton Updated Branches: refs/heads/master 5ec901323 -> f066bd520
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/80587567 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/80587567 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/80587567 Branch: refs/heads/master Commit: 80587567cc1c48e25fd69a11116175667471e7c8 Parents: 5ec9013 Author: Andrew Stitcher <[email protected]> Authored: Tue Jan 26 11:48:23 2016 -0500 Committer: Andrew Stitcher <[email protected]> Committed: Tue Jan 26 11:48:23 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/80587567/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: [email protected] For additional commands, e-mail: [email protected]
