activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject git commit: https://issues.apache.org/jira/browse/AMQCPP-514
Date Thu, 03 Oct 2013 15:17:12 GMT
Updated Branches:
  refs/heads/3.8.x 1f21a690f -> eccc0f71e


https://issues.apache.org/jira/browse/AMQCPP-514

Adds catch all to ActiveMQBytesMessage dtor


Project: http://git-wip-us.apache.org/repos/asf/activemq-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-cpp/commit/eccc0f71
Tree: http://git-wip-us.apache.org/repos/asf/activemq-cpp/tree/eccc0f71
Diff: http://git-wip-us.apache.org/repos/asf/activemq-cpp/diff/eccc0f71

Branch: refs/heads/3.8.x
Commit: eccc0f71ed00bf10269a793ac5e00f61cdefae61
Parents: 1f21a69
Author: Timothy Bish <tabish121@gmai.com>
Authored: Thu Oct 3 11:14:29 2013 -0400
Committer: Timothy Bish <tabish121@gmai.com>
Committed: Thu Oct 3 11:16:59 2013 -0400

----------------------------------------------------------------------
 .../src/main/activemq/commands/ActiveMQBytesMessage.cpp         | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/eccc0f71/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp b/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp
index 9843f6c..86c82a9 100644
--- a/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp
+++ b/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp
@@ -77,7 +77,10 @@ ActiveMQBytesMessage::ActiveMQBytesMessage() :
 
 ////////////////////////////////////////////////////////////////////////////////
 ActiveMQBytesMessage::~ActiveMQBytesMessage() throw() {
-    this->reset();
+    try {
+        this->reset();
+    }
+    AMQ_CATCHALL_NOTHROW()
 }
 
 ////////////////////////////////////////////////////////////////////////////////


Mime
View raw message