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:15:42 GMT
Updated Branches:
  refs/heads/trunk c4c4602b4 -> 06a7435df


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/06a7435d
Tree: http://git-wip-us.apache.org/repos/asf/activemq-cpp/tree/06a7435d
Diff: http://git-wip-us.apache.org/repos/asf/activemq-cpp/diff/06a7435d

Branch: refs/heads/trunk
Commit: 06a7435dffe1ca74b0fcc60fb596817526170cff
Parents: c4c4602
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:15:33 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/06a7435d/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